Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<!-- send to the user's JID -->
<iq type="get"" id="123">
<query xmlns="" maxstanzas="50" type="chat" />
<!-- 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. -->
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