From d9d3d3e6f06a76dc0fbe24c9655b64acfcd4b9e4 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Sun, 31 Oct 2010 22:29:17 +0100 Subject: Make maildir synchronization configurable This adds group [maildir] and key 'synchronize_flags' to the configuration file. Its value enables (true) or diables (false) the synchronization between notmuch tags and maildir flags. By default, the synchronization is disabled. --- notmuch-restore.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'notmuch-restore.c') diff --git a/notmuch-restore.c b/notmuch-restore.c index b0a4e1ce..b5c5c48d 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_sync (config)); if (argc) { input = fopen (argv[0], "r"); if (input == NULL) { -- cgit v1.2.3