aboutsummaryrefslogtreecommitdiffstats
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
commit9f191fe58de8bb83598dfdd5a613af6020a55a75 (patch)
tree75dc9336cf3edd760c4d0b92a627baae17c8c928
parent5e9fe5c94ce83213cf3a2d3298878ca670820b05 (diff)
downloadprosody-9f191fe58de8bb83598dfdd5a613af6020a55a75.tar.gz
prosody-9f191fe58de8bb83598dfdd5a613af6020a55a75.zip
mod_mam: Update namespace to XEP-0313 v0.6
-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";