server: maybe mark updates with :maybe-view

Don't updates messages when it's not needed, but don't use :view, since
it confuses mu4e's handlers.
This commit is contained in:
djcb
2018-08-18 11:37:31 +03:00
parent 6fd6d839d7
commit 16fa5d9a22
2 changed files with 13 additions and 15 deletions

View File

@ -193,10 +193,10 @@ The server output is as follows:
;; something got moved/flags changed
((plist-get sexp :update)
(funcall mu4e-update-func
(funcall mu4e-update-func
(plist-get sexp :update)
(plist-get sexp :move)
(plist-get sexp :view)))
(plist-get sexp :maybe-view)))
;; a message got removed
((plist-get sexp :remove)