markstory/hubot-xmpp — pull request #7 by ejfinneran (2012-01-21 23:31:58+00:00)
Title: Default user.type to 'groupchat' when undefined

Hubot methods like messageRoom don't have any knowledge of XMPP internals and calls #send() with just id and room defined. This allows those types of requests to default to groupchat.

See here for some background:
https://github.com/github/hubot/pull/208

Totally open to feedback on a better way to go about this as well.

Thanks!