X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fdatabase.cc;h=293d21aa01ff70c03ecdcbe3221c92dca21247f5;hp=380bbe3daa66e9a878c084b6f1e7fc2b1ace1470;hb=d9d3d3e6f06a76dc0fbe24c9655b64acfcd4b9e4;hpb=088801a14ab1ccf4c65e5bf7b50b3a1172c477d7 diff --git a/lib/database.cc b/lib/database.cc index 380bbe3d..293d21aa 100644 --- a/lib/database.cc +++ b/lib/database.cc @@ -688,6 +688,8 @@ notmuch_database_open (const char *path, notmuch = NULL; } + notmuch_database_set_maildir_sync (notmuch, FALSE); + DONE: if (notmuch_path) free (notmuch_path); @@ -717,6 +719,13 @@ notmuch_database_close (notmuch_database_t *notmuch) talloc_free (notmuch); } +void +notmuch_database_set_maildir_sync (notmuch_database_t *database, + notmuch_bool_t maildir_sync) +{ + database->maildir_sync = maildir_sync; +} + const char * notmuch_database_get_path (notmuch_database_t *notmuch) {