comparison mod_mam/mamprefsxml.lib.lua @ 1514:18349533c44d

mod_mam: Fix xmlns in preferences (Thanks Lance)
author Kim Alvefur <zash@zash.se>
date Thu, 25 Sep 2014 10:30:51 +0200
parents 0d6ab5e4bc30
children dfa9c0cdd960
comparison
equal deleted inserted replaced
1513:4ef0a1a499fa 1514:18349533c44d
2 -- Copyright (C) 2011-2013 Kim Alvefur 2 -- Copyright (C) 2011-2013 Kim Alvefur
3 -- 3 --
4 -- This file is MIT/X11 licensed. 4 -- This file is MIT/X11 licensed.
5 5
6 local st = require"util.stanza"; 6 local st = require"util.stanza";
7 local xmlns_mam = "urn:xmpp:mam:tmp"; 7 local xmlns_mam = "urn:xmpp:mam:0";
8 8
9 local global_default_policy = module:get_option("default_archive_policy", false); 9 local global_default_policy = module:get_option("default_archive_policy", false);
10 10
11 local default_attrs = { 11 local default_attrs = {
12 always = true, [true] = "always", 12 always = true, [true] = "always",