Diff

plugins/mod_muc_mam.lua @ 9001:23070882f3d4

mod_muc_mam: Disable presence logging by default
author Kim Alvefur <zash@zash.se>
date Mon, 09 Jul 2018 00:54:03 +0200
parent 8832:a9c3b15b9d37
child 9552:87e25d352de3
line wrap: on
line diff
--- a/plugins/mod_muc_mam.lua	Sun Jul 08 19:13:14 2018 +0200
+++ b/plugins/mod_muc_mam.lua	Mon Jul 09 00:54:03 2018 +0200
@@ -357,7 +357,7 @@
 	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);