Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<!-- send to the user's JID -->
<iq type="get" to=1_1@chat.hipchat.com" id="123">
<query xmlns="http://hipchat.com/protocol/history" maxstanzas="50" type="chat" />
</iq>
<!-- results come back as normal <message> stanzas like they do when joining a room.
the iq response may come back before the messages do. its just a confirmation that we got the request. -->
@squallstar
Copy link

squallstar commented Jun 25, 2014

thanks a lot for this gist, I was finally able to implement chat history and it works great ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment