hipchat/hubot-hipchat — Issue #16: Private messaging issue with user.reply_to
Author: jimmycuadra
Created: 2012-02-08 00:48:49+00:00
State: open

I'm trying to implement some functionality that causes Hubot to send a private message to user Y in response to receiving a command from user X. It seems that `HipChat#send` sends the message to a user's `reply_to` address, but this is often not what I want, because that value is usually set to my company's group chat. In this case I specifically want to initiate a private message. Is there a way to do this that I'm overlooking? Or is it necessary to add another method that sends to something like `user.jid` instead? I can make a pull request, just wanted your thoughts on how you'd like to approach this.