# HG changeset patch # User Kim Alvefur # Date 1414063368 -7200 # Node ID 4fb280768efc6598afaa7010d2fbd3b6f8c2fd12 # Parent efbb047c01e7ea4816a789013ceaff6511669aec mod_mam_muc: Add missing import and change the namespace to MAM v0.3 diff -r efbb047c01e7 -r 4fb280768efc mod_mam_muc/mod_mam_muc.lua --- 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;