From 23f6da0769d408844c0395f8ca78ba3724e755a8 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 20 Feb 2017 00:32:59 +0100 Subject: mod_mam: Update namespace to XEP-0313 v0.6 --- plugins/mod_mam/mamprefsxml.lib.lua | 2 +- plugins/mod_mam/mod_mam.lua | 2 +- 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"; -- cgit v1.2.3