prefix_t BOOLEAN_PREFIX[] = {
{ "type", "K" },
{ "tag", "L" },
- { "msgid", "Q" },
{ "id", "Q" },
{ "thread", "H" },
{ "ref", "R" },
notmuch_private_status_t status;
unsigned int doc_id;
- status = find_unique_doc_id (notmuch, "msgid", message_id, &doc_id);
+ status = find_unique_doc_id (notmuch, "id", message_id, &doc_id);
if (status == NOTMUCH_PRIVATE_STATUS_NO_DOCUMENT_FOUND)
return NULL;
return talloc_steal (talloc_owner, message);
term = talloc_asprintf (NULL, "%s%s",
- _find_prefix ("msgid"), message_id);
+ _find_prefix ("id"), message_id);
doc.add_term (term);
talloc_free (term);
return message->message_id;
i = message->doc.termlist_begin ();
- i.skip_to (_find_prefix ("msgid"));
+ i.skip_to (_find_prefix ("id"));
if (i == message->doc.termlist_end ()) {
fprintf (stderr, "Internal error: Message with document ID of %d has no message ID.\n",