diff options
| author | Matthew Lear <matt@bubblegen.co.uk> | 2016-10-11 22:24:30 +0100 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2016-10-17 08:55:04 -0300 |
| commit | 0301055f07f993d98954036a353de9f5116f61d7 (patch) | |
| tree | 27d8958d5959deeb688a7ca42181a56f3d2f5894 | |
| parent | fae577cc4873795cef3d56fac38d160a2ee09e60 (diff) | |
Fix reply to encrypted mail when discouraging plain text.
If an encrypted multipart message is received which contains html and
notmuch-multipart/alternative-discouraged is set to discourage "text/plain",
any encrypted parts are not decrypted during generation of the reply
text. This fixes that problem by making sure notmuch-mua-reply does
that.
| -rw-r--r-- | emacs/notmuch-mua.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el index c5671731..f3336559 100644 --- a/emacs/notmuch-mua.el +++ b/emacs/notmuch-mua.el @@ -251,6 +251,10 @@ mutiple parts get a header." (notmuch-show-max-text-part-size 0) ;; Insert headers for parts as appropriate for replying. (notmuch-show-insert-header-p-function notmuch-mua-reply-insert-header-p-function) + ;; Ensure that any encrypted parts are + ;; decrypted during the generation of the reply + ;; text. + (notmuch-show-process-crypto process-crypto) ;; Don't indent multipart sub-parts. (notmuch-show-indent-multipart nil)) ;; We don't want sigstatus buttons (an information leak and usually wrong anyway). |
