Merge pull request #642 from eikek/master

* mu4e-draft.el: fix adding User-agent header
This commit is contained in:
Dirk-Jan C. Binnema
2015-09-20 11:32:47 +03:00

View File

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