]> git.notmuchmail.org Git - sup/commit
bugfix: ThreadSet claiming non-relevant videos are actually relevant
authorWilliam Morgan <wmorgan-sup@masanjin.net>
Wed, 20 Feb 2008 17:37:50 +0000 (09:37 -0800)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Wed, 20 Feb 2008 23:27:04 +0000 (15:27 -0800)
commitd371c081ebe557cbe67b2428f75c9471a480e8ef
treefd002cfea2b366cb73b33d6b80b624e44f617d1b
parentd1ee2a50e0c1a4a05bdbcec98d263cb673adc514
bugfix: ThreadSet claiming non-relevant videos are actually relevant

The call to @messages[mid] was a mistake because @messages is a SavingHash.
This was inserting spurious entries into @messages, which then caused
ThreadSet#relevant? to return true for any non-first messages in a thread (the
first one would be falsely added to @messages)
lib/sup/thread.rb