]> git.notmuchmail.org Git - notmuch/blobdiff - lib/add-message.cc
crypto: index encrypted parts when indexopts try_decrypt is set.
[notmuch] / lib / add-message.cc
index 34099ed59fbeed7896ebdc933d377005bbaaf71c..f5fac8be751fa2706d09383c07390652e73dc679 100644 (file)
@@ -546,7 +546,7 @@ notmuch_database_index_file (notmuch_database_t *notmuch,
            indexopts = def_indexopts;
        }
 
-       ret = _notmuch_message_index_file (message, message_file);
+       ret = _notmuch_message_index_file (message, indexopts, message_file);
        if (ret)
            goto DONE;