]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-restore.c
Make maildir synchronization configurable
[notmuch] / notmuch-restore.c
index b0a4e1ce7905fc52157ce35c471fe1b31446f549..b5c5c48dfdc4f3be5f023d946900e7c22c42a3cc 100644 (file)
@@ -41,6 +41,8 @@ notmuch_restore_command (unused (void *ctx), int argc, char *argv[])
     if (notmuch == NULL)
        return 1;
 
     if (notmuch == NULL)
        return 1;
 
+    notmuch_database_set_maildir_sync (notmuch,
+                                      notmuch_config_get_maildir_sync (config));
     if (argc) {
        input = fopen (argv[0], "r");
        if (input == NULL) {
     if (argc) {
        input = fopen (argv[0], "r");
        if (input == NULL) {