]> git.notmuchmail.org Git - notmuch/blobdiff - database.cc
Change all occurrences of "msgid" to "id".
[notmuch] / database.cc
index 1666aff0a123d9d5c156ee20d8dc2c30d5b21602..d513b8552bf12bc1fa7752e3275002977f73acec 100644 (file)
@@ -44,7 +44,6 @@ typedef struct {
 prefix_t BOOLEAN_PREFIX[] = {
     { "type", "K" },
     { "tag", "L" },
-    { "msgid", "Q" },
     { "id", "Q" },
     { "thread", "H" },
     { "ref", "R" },
@@ -207,7 +206,7 @@ notmuch_database_find_message (notmuch_database_t *notmuch,
     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;