X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-reply.c;h=291cd024d696126219d073a2a679af456619db0e;hp=c6122aa760e067c6b074215df816d684f509fe84;hb=f379aa52845f5594aa6cc2e7cf131d5f57202bbf;hpb=aac1d6035238f6a2b18c0dc0d7a5190a2187c511 diff --git a/notmuch-reply.c b/notmuch-reply.c index c6122aa7..291cd024 100644 --- a/notmuch-reply.c +++ b/notmuch-reply.c @@ -223,7 +223,8 @@ notmuch_reply_command (void *ctx, int argc, char *argv[]) return 1; } - notmuch = notmuch_database_open (notmuch_config_get_database_path (config)); + notmuch = notmuch_database_open (notmuch_config_get_database_path (config), + NOTMUCH_DATABASE_MODE_READONLY); if (notmuch == NULL) return 1;