have _notmuch_thread_create mark which messages matched the query
authorBart Trojanowski <bart@jukie.net>
Wed, 25 Nov 2009 04:54:34 +0000 (23:54 -0500)
committerCarl Worth <cworth@cworth.org>
Sat, 28 Nov 2009 01:07:06 +0000 (17:07 -0800)
commitbede40987a64b7c2565d771922a3eac0a229ee28
tree5a6029f117dafa89a0438c10988f6dfd1c045359
parentc57a0b4f8b78d655b90f4f2e6f986c85f477aef7
have _notmuch_thread_create mark which messages matched the query

When _notmuch_thread_create() is given a query string, it can return more
messages than just those matching the query.  To distinguish those that
matched the query expression, the MATCHING_SEARCH flag is set
appropriately.

Signed-off-by: Bart Trojanowski <bart@jukie.net>
lib/notmuch.h
lib/thread.cc