Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added comments to deliver method

  • Loading branch information...
commit ca3ab6bb8816137dc6d77d0ac33a936837ef0eee 1 parent b0a63f3
hemanth.hm authored

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. +2 0  rgbot.rb
2  rgbot.rb
@@ -50,6 +50,8 @@ def invoke(msg)
50 50 end
51 51
52 52 def deliver(msg,res)
  53 + # A helper method to deliver the message to the one who pingged the bot
  54 + # @msg.from.node would be the gmail user who is talking to the bot
53 55 @jabber.deliver(@msg.from.node+"@gmail.com",res)
54 56 end
55 57

0 comments on commit ca3ab6b

Please sign in to comment.
Something went wrong with that request. Please try again.