mu4e: re-view after marked-as-read

When we mark a message as read, we get an (:update ... ) with the
marked-as-read message (ie., moved from new/ to cur/).

The (:update ...) however does _not_ include extracted images etc.; so
images in unread message would not be visible at that time. To fix this,
to another (:view ...) and extract the images etc.

Thanks to tangxinfa for pointing this out.
This commit is contained in:
djcb 2018-04-25 10:52:29 +03:00
parent bef3113c09
commit cd649efb6b
1 changed files with 1 additions and 0 deletions

View File

@ -890,6 +890,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.
(mu4e~proc-move msgid nil "+S-u-N")
(mu4e~proc-view docid mu4e-view-show-images (mu4e~decrypt-p msg))
t))))
(defun mu4e~view-browse-url-func (url)