markstory/hubot-xmpp — pull request #62 by MacKeeper (2014-02-22 05:16:04+00:00)
Title: connection it not always set initially but is after connection.

It's not clear when one should use @client.connection or @client.socket since it seems to depend on the timing of the connection. I had a "not such property setTimeout" in one setup.

This new method seems to work on my two environments.