Guest User

Untitled

a guest
Mar 13th, 2018
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. <message
  2. xmlns="jabber:client" to="aaa@example.net/8667085700924567016834" from="aaa@example.net">
  3. <result
  4. xmlns="urn:xmpp:mam:2" id="1520510373346685">
  5. <forwarded
  6. xmlns="urn:xmpp:forward:0">
  7. <message
  8. xmlns="jabber:client" xml:lang="en" to="bbb@example.net" from="aaa@example.net/60965696931000870402419" type="chat">
  9. <archived
  10. xmlns="urn:xmpp:mam:tmp" by="aaa@example.net" id="1520510373346685"/>
  11. <stanza-id
  12. xmlns="urn:xmpp:sid:0" by="aaa@example.net" id="1520510373346685"/>
  13. <body>asdf</body>
  14. </message>
  15. <delay
  16. xmlns="urn:xmpp:delay" from="example.net" stamp="2018-03-08T11:59:33.346685Z"/>
  17. </forwarded>
  18. </result>
  19. </message>
  20.  
  21. params = {
  22. "before": "1520510373346685",
  23. "max": 10,
  24. onMessage: <some handler>,
  25. onComplete: <some handler>,
  26. }
  27. this.connection.mam.query(Strophe.getBareJidFromJid(this.myJid), params);
Add Comment
Please, Sign In to add comment