X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fmessage-file.c;h=9e9b387fcc697a8e8b3d13a8bbbd03147714ef58;hp=15b0bfad2e63772c314f4545eb0a3ffa19a15b2c;hb=e823d05ae6dc920d4fc9abf774c3d2575d891d7b;hpb=986056bdbcfea642a2d08f7ee257f7aaaed433b9 diff --git a/lib/message-file.c b/lib/message-file.c index 15b0bfad..9e9b387f 100644 --- a/lib/message-file.c +++ b/lib/message-file.c @@ -64,7 +64,7 @@ _notmuch_message_file_open_ctx (notmuch_database_t *notmuch, if (unlikely (message == NULL)) return NULL; - const char *prefix = notmuch_database_get_path (notmuch); + const char *prefix = notmuch_config_get (notmuch, NOTMUCH_CONFIG_MAIL_ROOT); if (prefix == NULL) goto FAIL;