]> git.notmuchmail.org Git - notmuch/blobdiff - lib/query.cc
lib: Add the exclude flag to notmuch_query_search_threads
[notmuch] / lib / query.cc
index ef2a11f86cf3aa8489bfe1a5bded71fa64249cc3..ab18fbc6124d1c573741a9ebc7ac2dbb77b65086 100644 (file)
@@ -475,6 +475,7 @@ notmuch_threads_get (notmuch_threads_t *threads)
                                   threads->query->notmuch,
                                   doc_id,
                                   &threads->match_set,
                                   threads->query->notmuch,
                                   doc_id,
                                   &threads->match_set,
+                                  threads->query->exclude_terms,
                                   threads->query->sort);
 }
 
                                   threads->query->sort);
 }