X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-new.c;h=ed3f944f0c9468cde72d2708bf704f7c1a1e057c;hp=8818728f69c37eba3445ed240bbd49e3d6c172d6;hb=088801a14ab1ccf4c65e5bf7b50b3a1172c477d7;hpb=b65a783195cb459a316370eb7a956b6029102f2e;ds=sidebyside diff --git a/notmuch-new.c b/notmuch-new.c index 8818728f..ed3f944f 100644 --- a/notmuch-new.c +++ b/notmuch-new.c @@ -410,10 +410,11 @@ add_files_recursive (notmuch_database_t *notmuch, state->added_messages++; for (tag=state->new_tags; *tag != NULL; tag++) notmuch_message_add_tag (message, *tag); + notmuch_message_maildir_to_tags (message, next); break; /* Non-fatal issues (go on to next file) */ case NOTMUCH_STATUS_DUPLICATE_MESSAGE_ID: - /* Stay silent on this one. */ + notmuch_message_maildir_to_tags (message, next); break; case NOTMUCH_STATUS_FILE_NOT_EMAIL: fprintf (stderr, "Note: Ignoring non-mail file: %s\n",