From 8adfea849c2328eeeedbd0ea85afd0d65a9214eb Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 11 Jan 2017 13:08:50 +0100 Subject: mod_mam: Change store name to "archive" but make it configurable for people who have data in "archive2" --- plugins/mod_mam/mod_mam.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mod_mam/mod_mam.lua') diff --git a/plugins/mod_mam/mod_mam.lua b/plugins/mod_mam/mod_mam.lua index 898b81c8..cff542bb 100644 --- a/plugins/mod_mam/mod_mam.lua +++ b/plugins/mod_mam/mod_mam.lua @@ -34,7 +34,7 @@ if global_default_policy ~= "roster" then end local strip_tags = module:get_option_set("dont_archive_namespaces", { "http://jabber.org/protocol/chatstates" }); -local archive_store = "archive2"; +local archive_store = module:get_option_string("archive_store", "archive"); local archive = assert(module:open_store(archive_store, "archive")); if archive.name == "null" or not archive.find then -- cgit v1.2.3