Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <message
- xmlns="jabber:client" to="aaa@example.net/8667085700924567016834" from="aaa@example.net">
- <result
- xmlns="urn:xmpp:mam:2" id="1520510373346685">
- <forwarded
- xmlns="urn:xmpp:forward:0">
- <message
- xmlns="jabber:client" xml:lang="en" to="bbb@example.net" from="aaa@example.net/60965696931000870402419" type="chat">
- <archived
- xmlns="urn:xmpp:mam:tmp" by="aaa@example.net" id="1520510373346685"/>
- <stanza-id
- xmlns="urn:xmpp:sid:0" by="aaa@example.net" id="1520510373346685"/>
- <body>asdf</body>
- </message>
- <delay
- xmlns="urn:xmpp:delay" from="example.net" stamp="2018-03-08T11:59:33.346685Z"/>
- </forwarded>
- </result>
- </message>
- params = {
- "before": "1520510373346685",
- "max": 10,
- onMessage: <some handler>,
- onComplete: <some handler>,
- }
- this.connection.mam.query(Strophe.getBareJidFromJid(this.myJid), params);
Add Comment
Please, Sign In to add comment