Skip to content

Commit

Permalink
Merge pull request #642 from eikek/master
Browse files Browse the repository at this point in the history
* mu4e-draft.el: fix adding User-agent header
  • Loading branch information
djcb committed Sep 20, 2015
2 parents 90293f6 + 0f16727 commit c339e99
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions mu4e/mu4e-draft.el
Expand Up @@ -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: "
Expand Down

0 comments on commit c339e99

Please sign in to comment.