From b15877ac0fcf3d0b012bebaefc635a19210e72ca Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 9 Jul 2018 00:54:03 +0200 Subject: mod_muc_mam: Disable presence logging by default --- plugins/mod_muc_mam.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mod_muc_mam.lua') diff --git a/plugins/mod_muc_mam.lua b/plugins/mod_muc_mam.lua index cfc383fc..3013bb49 100644 --- a/plugins/mod_muc_mam.lua +++ b/plugins/mod_muc_mam.lua @@ -357,7 +357,7 @@ module:hook("muc-add-history", function (event) save_to_history(room, stanza); end); -if module:get_option_boolean("muc_log_presences", true) then +if module:get_option_boolean("muc_log_presences", false) then module:hook("muc-occupant-joined", function (event) save_to_history(event.room, st.stanza("presence", { from = event.nick }):tag("x", { xmlns = "http://jabber.org/protocol/muc" })); end); -- cgit v1.2.3