diff 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
line wrap: on
line diff
--- a/util.js
+++ b/util.js
@@ -9,6 +9,7 @@ const NS = {
     avatar_metadata: 'urn:xmpp:avatar:metadata',
     avatar_data: 'urn:xmpp:avatar:data',
     nickname: 'http://jabber.org/protocol/nick',
+    mam: 'urn:xmpp:mam:2',
 };
 
 function nsResolver(prefix) {