comparison mod_mam/mamprefs.lib.lua @ 2017:d44ac0756c46

mod_mam: Enable archiving by default, less of a privacy issue if messages expire
author Kim Alvefur <zash@zash.se>
date Tue, 19 Jan 2016 13:34:53 +0100
parents 572b1ad46182
children 34ec7bde5203
comparison
equal deleted inserted replaced
2016:279885fd9728 2017:d44ac0756c46
1 -- XEP-0313: Message Archive Management for Prosody 1 -- XEP-0313: Message Archive Management for Prosody
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 global_default_policy = module:get_option("default_archive_policy", false); 6 local global_default_policy = module:get_option("default_archive_policy", true);
7 7
8 do 8 do
9 local prefs_format = { 9 local prefs_format = {
10 [false] = "roster", 10 [false] = "roster",
11 -- default ::= true | false | "roster" 11 -- default ::= true | false | "roster"