aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_mam
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-02-20 00:32:59 +0100
committerKim Alvefur <zash@zash.se>2017-02-20 00:32:59 +0100
commit23f6da0769d408844c0395f8ca78ba3724e755a8 (patch)
tree75dc9336cf3edd760c4d0b92a627baae17c8c928 /plugins/mod_mam
parentf6dcf5996815a4b93eebb305d85390187cea2bc7 (diff)
downloadprosody-23f6da0769d408844c0395f8ca78ba3724e755a8.tar.gz
prosody-23f6da0769d408844c0395f8ca78ba3724e755a8.zip
mod_mam: Update namespace to XEP-0313 v0.6
Diffstat (limited to 'plugins/mod_mam')
-rw-r--r--plugins/mod_mam/mamprefsxml.lib.lua2
-rw-r--r--plugins/mod_mam/mod_mam.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_mam/mamprefsxml.lib.lua b/plugins/mod_mam/mamprefsxml.lib.lua
index 0598bbcd..8eee78d8 100644
--- a/plugins/mod_mam/mamprefsxml.lib.lua
+++ b/plugins/mod_mam/mamprefsxml.lib.lua
@@ -10,7 +10,7 @@
--
local st = require"util.stanza";
-local xmlns_mam = "urn:xmpp:mam:1";
+local xmlns_mam = "urn:xmpp:mam:2";
local default_attrs = {
always = true, [true] = "always",
diff --git a/plugins/mod_mam/mod_mam.lua b/plugins/mod_mam/mod_mam.lua
index 30e416ff..7c8dbceb 100644
--- a/plugins/mod_mam/mod_mam.lua
+++ b/plugins/mod_mam/mod_mam.lua
@@ -9,7 +9,7 @@
-- XEP-0313: Message Archive Management for Prosody
--
-local xmlns_mam = "urn:xmpp:mam:1";
+local xmlns_mam = "urn:xmpp:mam:2";
local xmlns_delay = "urn:xmpp:delay";
local xmlns_forward = "urn:xmpp:forward:0";
local xmlns_st_id = "urn:xmpp:sid:0";