comparison util.js @ 24:6c620e9f7d2c

Add support for retrieving all MAM messages, and for downloading it in a XEP-0227-like format.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 23 Dec 2018 15:39:51 +0100
parents bde4f0bbfe69
children d9da5c3e305d
comparison
equal deleted inserted replaced
23:e99984564b17 24:6c620e9f7d2c
8 pubsub_owner: 'http://jabber.org/protocol/pubsub#owner', 8 pubsub_owner: 'http://jabber.org/protocol/pubsub#owner',
9 avatar_metadata: 'urn:xmpp:avatar:metadata', 9 avatar_metadata: 'urn:xmpp:avatar:metadata',
10 avatar_data: 'urn:xmpp:avatar:data', 10 avatar_data: 'urn:xmpp:avatar:data',
11 nickname: 'http://jabber.org/protocol/nick', 11 nickname: 'http://jabber.org/protocol/nick',
12 mam: 'urn:xmpp:mam:2', 12 mam: 'urn:xmpp:mam:2',
13 forward: 'urn:xmpp:forward:0',
13 }; 14 };
14 15
15 function nsResolver(prefix) { 16 function nsResolver(prefix) {
16 return NS[prefix] || null; 17 return NS[prefix] || null;
17 } 18 }