From: wmorgan Date: Wed, 19 Sep 2007 16:01:54 +0000 (+0000) Subject: poll bugfix thanks to magnus: only use source_marked_read? if it's true X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;h=e0624e63ff7aee7c02a6eb4346d43021981046bb;p=sup poll bugfix thanks to magnus: only use source_marked_read? if it's true git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@588 5c8cc53c-5e98-4d25-b20a-d8db53a31250 --- diff --git a/lib/sup/poll.rb b/lib/sup/poll.rb index a6c809b..f36c37f 100644 --- a/lib/sup/poll.rb +++ b/lib/sup/poll.rb @@ -144,9 +144,6 @@ EOS if m.source_marked_read? m.remove_label :unread labels.delete :unread - else - m.add_label :unread - labels << :unread end docid, entry = Index.load_entry_for_id m.id