X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fthread-fp.cc;h=7327700653bcab8ead048b55257617dfe9f52bc3;hb=8a3f86f2f9b53d34e001537b113628ceba20a02d;hp=75339ffa79210ebca5192547e16bbcea6179faf8;hpb=5ad39ebf75eb85263e4b64f21e07ec02194f9573;p=notmuch 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 ());