]> git.notmuchmail.org Git - notmuch/commit
lib: Set thread subject at the same time as setting thread->{oldest,newest}
authorCarl Worth <cworth@cworth.org>
Wed, 8 Dec 2010 00:26:38 +0000 (16:26 -0800)
committerCarl Worth <cworth@cworth.org>
Wed, 8 Dec 2010 00:27:03 +0000 (16:27 -0800)
commita4ce6cfbc63c53934c4c06f1b00ffef1c560b3b5
treed4de624f28dda1c8a8f927777fc3b873bb9e1176
parentda805c4cdb4277cac089f0a1ef7d006abdf3b78d
lib: Set thread subject at the same time as setting thread->{oldest,newest}

We really want to change the thread subject at the same time we set
the date, (if the sort order indicates this is necessary). The
previous code for setting the thread subject was sensitive on the
query sort when adding matching messages. An independent bug fix is
about to change that query sort order, so we remove the dependency on
it here.
lib/thread.cc