Permalink
Browse files

updated emailer to have the from address be the user's id

  • Loading branch information...
1 parent 91c7dd1 commit f3f7b0a7b045ef11f888a492780302e008435b21 Kevin Krauss committed Oct 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/scripts/email.coffee
@@ -29,5 +29,5 @@ module.exports = (robot) ->
util.print 'stderr: ' + stderr
robot.respond /email (.*) -s (.*) -m (.*)/i, (msg) ->
- sendEmail msg.match[1], msg.match[2], msg.match[3], msg.message.user.name
+ sendEmail msg.match[1], msg.match[2], msg.match[3], msg.message.user.id
msg.send "email sent"

0 comments on commit f3f7b0a

Please sign in to comment.