X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fdatabase.cc;h=7a00917ec709ce3f7b30fff2699b993d2860840c;hb=a18a15326c9bc392828c91a465b5c514cddfb539;hp=380bbe3daa66e9a878c084b6f1e7fc2b1ace1470;hpb=088801a14ab1ccf4c65e5bf7b50b3a1172c477d7;p=notmuch diff --git a/lib/database.cc b/lib/database.cc index 380bbe3d..7a00917e 100644 --- a/lib/database.cc +++ b/lib/database.cc @@ -1642,13 +1642,6 @@ notmuch_database_add_message (notmuch_database_t *notmuch, _notmuch_message_add_filename (message, filename); - /* This is a new message or it has a new filename and as such, - * its tags in database either do not exists or might be out - * of date. We assign the tags later in notmuch new, but until - * then we should not synchronize the tags back to the maildir - * flags (if notmuch is configured to do so). */ - notmuch_message_set_flag(message, NOTMUCH_MESSAGE_FLAG_TAGS_INVALID, TRUE); - /* Is this a newly created message object? */ if (private_status == NOTMUCH_PRIVATE_STATUS_NO_DOCUMENT_FOUND) { _notmuch_message_add_term (message, "type", "mail");