Comparison

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
parent 1535:efbb047c01e7
child 1540:0c26b1638f8c
comparison
equal deleted inserted replaced
1535:efbb047c01e7 1536:4fb280768efc
1 -- XEP-0313: Message Archive Management for Prosody MUC 1 -- XEP-0313: Message Archive Management for Prosody MUC
2 -- Copyright (C) 2011-2014 Kim Alvefur 2 -- Copyright (C) 2011-2014 Kim Alvefur
3 -- 3 --
4 -- This file is MIT/X11 licensed. 4 -- This file is MIT/X11 licensed.
5 5
6 local xmlns_mam = "urn:xmpp:mam:tmp"; 6 local xmlns_mam = "urn:xmpp:mam:0";
7 local xmlns_delay = "urn:xmpp:delay"; 7 local xmlns_delay = "urn:xmpp:delay";
8 local xmlns_forward = "urn:xmpp:forward:0"; 8 local xmlns_forward = "urn:xmpp:forward:0";
9 local muc_form_enable_logging = "muc#roomconfig_enablelogging" 9 local muc_form_enable_logging = "muc#roomconfig_enablelogging"
10 10
11 local st = require "util.stanza"; 11 local st = require "util.stanza";
12 local rsm = module:require "mod_mam/rsm"; 12 local rsm = module:require "mod_mam/rsm";
13 local jid_bare = require "util.jid".bare; 13 local jid_bare = require "util.jid".bare;
14 local jid_split = require "util.jid".split; 14 local jid_split = require "util.jid".split;
15 local dataform = require "util.dataforms".new;
15 16
16 local mod_muc = module:depends"muc"; 17 local mod_muc = module:depends"muc";
17 local room_mt = mod_muc.room_mt; 18 local room_mt = mod_muc.room_mt;
18 local rooms = mod_muc.rooms; 19 local rooms = mod_muc.rooms;
19 20