sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit d72f9bc8106e208c5308830dc0b3aaac5a16307b
parent ce3ab8c6a49943ccb640bce7ec7f2f0bc66018c7
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date:   Mon, 12 Nov 2007 23:55:37 +0000

bugfix in poll new-message counting from marcus williams

git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@696 5c8cc53c-5e98-4d25-b20a-d8db53a31250

Diffstat:
M lib/sup/poll.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sup/poll.rb b/lib/sup/poll.rb
@@ -100,7 +100,7 @@ EOS
           unless entry
             num += 1
             from_and_subj << [m.from.longname, m.subj]
-            if m.labels.include? :inbox
+            if m.has_label?(:inbox) && ([:spam, :deleted, :killed] & m.labels).empty?
               from_and_subj_inbox << [m.from.longname, m.subj]
               numi += 1 
             end