X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fquery.cc;h=e853d4ec8e46b55b260fc0264b1756bf59eb26a1;hp=b5f1546ac084d609b24a25a60dd68e677f513145;hb=c168e24174d32563ceb1a35d9bf1875c5bfeac25;hpb=ec6d3506db0b614ff754293cfb83fe9e93dc66c8 diff --git a/lib/query.cc b/lib/query.cc index b5f1546a..e853d4ec 100644 --- a/lib/query.cc +++ b/lib/query.cc @@ -220,7 +220,8 @@ notmuch_query_search_threads (notmuch_query_t *query, { if (threads_seen >= first) { thread = _notmuch_thread_create (query, query->notmuch, - thread_id); + thread_id, + query->query_string); g_ptr_array_add (threads->threads, thread); } else { thread = NULL;