Give me thine email addresses correctly, dear contact handler.

This commit is contained in:
Nick Winter 2014-12-24 11:02:52 -08:00
parent 1c1f2008a5
commit d6b5c14123

View file

@ -43,7 +43,7 @@ createMailContext = (req, done) ->
reply_to: sender or user.get('email')
name: user.get('name')
email_data:
subject: "[CodeCombat] #{subject ? ('Feedback - ' + sender or user.get('email'))}"
subject: "[CodeCombat] #{subject ? ('Feedback - ' + (sender or user.get('email')))}"
content: content
if recipientID and (user.isAdmin() or ('employer' in (user.get('permissions') ? [])))