]> git.notmuchmail.org Git - notmuch/blobdiff - lib/thread.cc
correct message flag enum value so that it matches the type
[notmuch] / lib / thread.cc
index 9e4cb5c89174cc697af2c3f828a66eeb9497024a..321937b0ac3315be803473debbc4d475736d7a23 100644 (file)
@@ -148,7 +148,7 @@ _thread_add_matched_message (notmuch_thread_t *thread,
                            notmuch_message_get_message_id (message), NULL,
                            (void **) &hashed_message)) {
        notmuch_message_set_flag (hashed_message,
-                       NOTMUCH_MSG_FLAG_MATCHING_SEARCH, 1);
+                                 NOTMUCH_MESSAGE_FLAG_MATCH, 1);
     }
 }