diff options
| author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2017-12-08 01:23:51 -0500 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2017-12-08 08:06:03 -0400 |
| commit | b62045a18680720b407173140d79b459e45e6039 (patch) | |
| tree | f17e98231e9dd5b704603b1f8cd87aba260dfcb2 /lib/index.cc | |
| parent | d3964e81ac98825a025a6120c488ebd73de2a281 (diff) | |
indexopts: change _try_decrypt to _decrypt_policy
This terminology makes it clearer what's going on at the API layer,
and paves the way for future changesets that offer more nuanced
decryption policy.
Diffstat (limited to 'lib/index.cc')
| -rw-r--r-- | lib/index.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/index.cc b/lib/index.cc index 6eb60f30..ff14e408 100644 --- a/lib/index.cc +++ b/lib/index.cc @@ -525,7 +525,7 @@ _index_encrypted_mime_part (notmuch_message_t *message, notmuch_database_t * notmuch = NULL; GMimeObject *clear = NULL; - if (!indexopts || !notmuch_indexopts_get_try_decrypt (indexopts)) + if (!indexopts || !notmuch_indexopts_get_decrypt_policy (indexopts)) return; notmuch = _notmuch_message_database (message); |
