X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fthread-fp.cc;h=7327700653bcab8ead048b55257617dfe9f52bc3;hp=75339ffa79210ebca5192547e16bbcea6179faf8;hb=e19954fa188e8a2a9bb4d57a235eb11490880fb9;hpb=5ad39ebf75eb85263e4b64f21e07ec02194f9573 diff --git a/lib/thread-fp.cc b/lib/thread-fp.cc index 75339ffa..73277006 100644 --- a/lib/thread-fp.cc +++ b/lib/thread-fp.cc @@ -52,7 +52,7 @@ ThreadFieldProcessor::operator() (const std::string & str) std::string term = thread_prefix; notmuch_message_t *message; message = notmuch_messages_get (messages); - term += notmuch_message_get_thread_id (message); + term += _notmuch_message_get_thread_id_only (message); terms.insert (term); } return Xapian::Query (Xapian::Query::OP_OR, terms.begin (), terms.end ());