* mu4e-draft.el: fix adding User-agent header

This commit is contained in:
Eike Kettner 2015-07-24 08:23:24 +02:00
parent fd557aeac8
commit 0f167270a6
1 changed files with 4 additions and 3 deletions

View File

@ -315,9 +315,10 @@ You can append flags."
(defun mu4e~draft-common-construct ()
"Construct the common headers for each message."
(mu4e~draft-header "User-agent" (mu4e~draft-user-agent-construct))
(when mu4e-compose-auto-include-date
(mu4e~draft-header "Date" (message-make-date))))
(concat
(mu4e~draft-header "User-agent" (mu4e~draft-user-agent-construct))
(when mu4e-compose-auto-include-date
(mu4e~draft-header "Date" (message-make-date)))))
(defconst mu4e~draft-reply-prefix "Re: "