Mercurial > xmpp-account-manager
comparison util.js @ 17:07543f7f5e89
Retrieve and change the default MAM prefs.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 22 Dec 2018 19:42:42 +0100 |
parents | 3eed9fe0bd7c |
children | bde4f0bbfe69 |
comparison
equal
deleted
inserted
replaced
16:c3e2e0c62486 | 17:07543f7f5e89 |
---|---|
7 pubsub: 'http://jabber.org/protocol/pubsub', | 7 pubsub: 'http://jabber.org/protocol/pubsub', |
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 }; | 13 }; |
13 | 14 |
14 function nsResolver(prefix) { | 15 function nsResolver(prefix) { |
15 return NS[prefix] || null; | 16 return NS[prefix] || null; |
16 } | 17 } |