mu: better handle updating mail being viewed

instead of the the 'noupdate', add 'noview', so the headers still get
update but we don't render unread mail twice.
This commit is contained in:
djcb
2018-08-14 21:59:41 +03:00
parent 93c6ff1f85
commit 82e7d7c65d
4 changed files with 27 additions and 23 deletions

View File

@ -903,7 +903,7 @@ changes, it triggers a refresh."
;; mark /all/ messages with this message-id as read, so all copies of
;; 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" 'noupdate)
(mu4e~proc-move msgid nil "+S-u-N" 'noview)
(mu4e~proc-view docid mu4e-view-show-images (mu4e~decrypt-p msg))
t))))