mu4e/server: honor rename-move for view-message, too

It's technically a 'move', so apply user preference.
This commit is contained in:
Dirk-Jan C. Binnema
2022-02-13 12:03:16 +02:00
parent a66fd4dae4
commit a0ec982789
2 changed files with 22 additions and 25 deletions

View File

@ -563,7 +563,10 @@ The result will be delivered to the function registered as
`(view
:docid ,(if (stringp docid-or-msgid) nil docid-or-msgid)
:msgid ,(if (stringp docid-or-msgid) docid-or-msgid nil)
:mark-as-read ,mark-as-read)))
:mark-as-read ,mark-as-read
;; when moving (due to mark-as-read), change filenames
;; if so configured.
:rename ,mu4e-change-filenames-when-moving)))
(provide 'mu4e-server)