]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-tag.c
Make maildir synchronization configurable
[notmuch] / notmuch-tag.c
index fd54bc786d84d7f910c5916e8c845dea906b5516..3a489a97c50e2ed55edd7bdd2ba7cc46abe69441 100644 (file)
@@ -100,6 +100,8 @@ notmuch_tag_command (void *ctx, unused (int argc), unused (char *argv[]))
                                     NOTMUCH_DATABASE_MODE_READ_WRITE);
     if (notmuch == NULL)
        return 1;
+    notmuch_database_set_maildir_sync (notmuch,
+                                      notmuch_config_get_maildir_sync (config));
 
     query = notmuch_query_create (notmuch, query_string);
     if (query == NULL) {