]> git.notmuchmail.org Git - notmuch/blobdiff - lib/thread-fp.cc
lib: define specialized get_thread_id for use in thread subquery
[notmuch] / lib / thread-fp.cc
index 75339ffa79210ebca5192547e16bbcea6179faf8..7327700653bcab8ead048b55257617dfe9f52bc3 100644 (file)
@@ -52,7 +52,7 @@ ThreadFieldProcessor::operator() (const std::string & str)
                std::string term = thread_prefix;
                notmuch_message_t *message;
                message = notmuch_messages_get (messages);
                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 ());
                terms.insert (term);
            }
            return Xapian::Query (Xapian::Query::OP_OR, terms.begin (), terms.end ());