mu4e: avoid mu-side crypto in gnus-mode

No need to decrypt/verify when we don't use the results.
This commit is contained in:
Dirk-Jan C. Binnema
2020-02-28 00:38:55 +02:00
parent 36a5d291d9
commit 0465b273d3
2 changed files with 13 additions and 9 deletions

View File

@ -996,7 +996,8 @@ changes, it triggers a refresh."
;; this message will be marked as read. We don't want an update thougn,
;; we want a full message, so images etc. work correctly.
(mu4e~proc-move msgid nil "+S-u-N" 'noview)
(mu4e~proc-view docid mu4e-view-show-images (mu4e~decrypt-p msg))
(mu4e~proc-view docid mu4e-view-show-images
(mu4e~decrypt-p msg) (not mu4e-view-use-gnus))
t))))
(defun mu4e~view-browse-url-func (url)