Changeset

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
parents 9000:4d64ff0719a6
children 9002:1fcddb4a4d16
files plugins/mod_muc_mam.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);