Skip to content

Commit

Permalink
coffeescript strings
Browse files Browse the repository at this point in the history
  • Loading branch information
andyfowler committed Oct 27, 2011
1 parent 790603a commit 9a0dbb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hubot/xmpp.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class XmppBot extends Robot
for str in strings
console.log "Sending to #{user.room}: #{str}"

to = if user.type in ['direct', 'chat'] then user.room + '/' + user.id else user.room
to = if user.type in ['direct', 'chat'] then "#{user.room}/#{user.id}" else user.room

message = new Xmpp.Element('message',
from: @options.username
Expand Down

0 comments on commit 9a0dbb6

Please sign in to comment.