diff options
Diffstat (limited to 'lib/query.cc')
-rw-r--r-- | lib/query.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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; |