Mark Story

Results 653 comments of Mark Story

@krutaw I probably won't be able to find the time to do that, but if you have the time I'm happy to merge this kind of change.

Generally the tests would be asserting that the XML being send to the jabber server is correctly formed. You can likely use something like the [ping/pong test](https://github.com/markstory/hubot-xmpp/blob/master/test/adapter-test.coffee#L165-L174) as an example

How are you attempting to send the HTML content? There [is an existing test for sending XHTML messages](https://github.com/markstory/hubot-xmpp/blob/master/test/adapter-test.coffee#L634-L656) so I would expect it to work.

Is `xhtmlContent` a string?

No it should be string filled with HTML. I'll see if I can hit the same problems locally.

I'm guessing this is a way to work around having to use group chat rooms, or is it to solve some other workflow?

It sounds like your server is sending the offline message. What jabber server are you using?

@bnied This does sound like #58. As soon as I figure out how to make ejabberd send and offline message I should be able to figure this out.

I was never able to reproduce the issues on the ejabberd servers I have access to.

I have not tried that. Based on reading the code the bot will not reconnect, as the offline event handler does not attempt to reconnect.