X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fmessage.cc;h=5bc7aff1386a4a7e09a461f98f7e37f86e5a3f58;hb=ccd7c0b0e6222ca41670eb9a29cc1f9346dad772;hp=a8ca9884c911906735d6f25884500a1169f13e8c;hpb=736ac26407914425a9c94e86616225292cf716dd;p=notmuch diff --git a/lib/message.cc b/lib/message.cc index a8ca9884..5bc7aff1 100644 --- a/lib/message.cc +++ b/lib/message.cc @@ -437,7 +437,8 @@ _notmuch_message_ensure_message_file (notmuch_message_t *message) if (unlikely (filename == NULL)) return; - message->message_file = _notmuch_message_file_open_ctx (message, filename); + message->message_file = _notmuch_message_file_open_ctx ( + _notmuch_message_database (message), message, filename); } const char *