From: wmorgan Date: Wed, 7 Nov 2007 17:35:26 +0000 (+0000) Subject: fix my breaking of marcus's patch, thanks to marcus X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=1702e602130e157e30ee9aeb1399f0000d8d2062;p=sup fix my breaking of marcus's patch, thanks to marcus git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@674 5c8cc53c-5e98-4d25-b20a-d8db53a31250 --- diff --git a/lib/sup/modes/inbox-mode.rb b/lib/sup/modes/inbox-mode.rb index 66b7379..719565b 100644 --- a/lib/sup/modes/inbox-mode.rb +++ b/lib/sup/modes/inbox-mode.rb @@ -15,7 +15,7 @@ class InboxMode < ThreadIndexMode end def is_relevant? m - m.has_label? :inbox && ([:spam, :deleted, :killed] & m.labels).length == 0 + m.has_label?(:inbox) && ([:spam, :deleted, :killed] & m.labels).empty? end ## label-list-mode wants to be able to raise us if the user selects