Mercurial > prosody-modules
diff mod_mam_muc/mod_mam_muc.lua @ 1536:4fb280768efc
mod_mam_muc: Add missing import and change the namespace to MAM v0.3
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 23 Oct 2014 13:22:48 +0200 |
parents | efbb047c01e7 |
children | 0c26b1638f8c |
line wrap: on
line diff
--- a/mod_mam_muc/mod_mam_muc.lua Wed Oct 22 21:42:40 2014 +0200 +++ b/mod_mam_muc/mod_mam_muc.lua Thu Oct 23 13:22:48 2014 +0200 @@ -3,7 +3,7 @@ -- -- This file is MIT/X11 licensed. -local xmlns_mam = "urn:xmpp:mam:tmp"; +local xmlns_mam = "urn:xmpp:mam:0"; local xmlns_delay = "urn:xmpp:delay"; local xmlns_forward = "urn:xmpp:forward:0"; local muc_form_enable_logging = "muc#roomconfig_enablelogging" @@ -12,6 +12,7 @@ local rsm = module:require "mod_mam/rsm"; local jid_bare = require "util.jid".bare; local jid_split = require "util.jid".split; +local dataform = require "util.dataforms".new; local mod_muc = module:depends"muc"; local room_mt = mod_muc.room_mt;