]> git.notmuchmail.org Git - notmuch/commitdiff
thread: Simplify code for assigning the subject.
authorCarl Worth <cworth@cworth.org>
Wed, 21 Apr 2010 22:06:02 +0000 (15:06 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 21 Apr 2010 22:06:02 +0000 (15:06 -0700)
We know that matched messages are always added in order, so we can
always just grab the subject from the first message. This is the same
approach that was used previously in _thread_add_message. That is, the
recent feature of renaming a thread based on the subject of the
"first" matched message is as simple as moving the subject assignment
from _thread_add_message to _thread_add_matched_message.


No differences found