Last active
August 29, 2015 14:03
-
-
Save powdahound/bf7411ff4f6c71109932 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- send to the user's JID --> | |
<iq type="get" [email protected]" 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. --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks a lot for this gist, I was finally able to implement chat history and it works great ;)