]> git.notmuchmail.org Git - sup/commitdiff
bugfix introduced by previous thread refactoring: relevant messages to a current...
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Fri, 25 May 2007 16:53:02 +0000 (16:53 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Fri, 25 May 2007 16:53:02 +0000 (16:53 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@415 5c8cc53c-5e98-4d25-b20a-d8db53a31250

lib/sup/thread.rb

index e31955382f7e819bb87d786ea5ed6118fd09bab7..020cf7256b4d7ebec4e2723a476f3d7961bd6181 100644 (file)
@@ -324,7 +324,7 @@ class ThreadSet
   end
 
   def is_relevant? m
-    m.refs.any? { |ref_id| @messages[ref_id] }
+    m.refs.any? { |ref_id| @messages.member? ref_id }
   end
 
   ## the heart of the threading code