X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-restore.c;h=98660b32cf0257b95da65450e37e4c080ca49b5e;hp=b0a4e1ce7905fc52157ce35c471fe1b31446f549;hb=4cfb2a02778bac16e785bbea1fd6c665e34bd955;hpb=4e5d2f22db290a830c0267f34b519c6138af00ed diff --git a/notmuch-restore.c b/notmuch-restore.c index b0a4e1ce..98660b32 100644 --- a/notmuch-restore.c +++ b/notmuch-restore.c @@ -41,6 +41,8 @@ notmuch_restore_command (unused (void *ctx), int argc, char *argv[]) if (notmuch == NULL) return 1; + notmuch_database_set_maildir_sync (notmuch, + notmuch_config_get_maildir_synchronize_flags (config)); if (argc) { input = fopen (argv[0], "r"); if (input == NULL) {