Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added comments to deliver method

  • Loading branch information...
commit ca3ab6bb8816137dc6d77d0ac33a936837ef0eee 1 parent b0a63f3
@hemanth authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  rgbot.rb
View
2  rgbot.rb
@@ -50,6 +50,8 @@ def invoke(msg)
end
def deliver(msg,res)
+ # A helper method to deliver the message to the one who pingged the bot
+ # @msg.from.node would be the gmail user who is talking to the bot
@jabber.deliver(@msg.from.node+"@gmail.com",res)
end
Please sign in to comment.
Something went wrong with that request. Please try again.