Skip to content

Commit

Permalink
Drop drop-keys in favour of dissoc.
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Flammer authored and drewr committed Oct 28, 2014
1 parent 97ef913 commit c783824
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/postal/message.clj
Expand Up @@ -179,7 +179,7 @@
(.setSubject (:subject msg) charset)
(.setSentDate (or (:date msg) (make-date)))
(.addHeader "User-Agent" (:user-agent msg (user-agent)))
(add-extra! (drop-keys msg standard))
(add-extra! (apply dissoc msg standard))
(add-body! (:body msg) charset)
(.saveChanges)))))

Expand Down

0 comments on commit c783824

Please sign in to comment.