diff options
author | Kim Alvefur <zash@zash.se> | 2018-07-09 00:54:03 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-07-09 00:54:03 +0200 |
commit | b15877ac0fcf3d0b012bebaefc635a19210e72ca (patch) | |
tree | f94026ac65bbb5db09f7c335789973ae16f7135a /plugins/mod_muc_mam.lua | |
parent | 3322ba6449d99b15981db10627b1498e2959cf87 (diff) | |
download | prosody-b15877ac0fcf3d0b012bebaefc635a19210e72ca.tar.gz prosody-b15877ac0fcf3d0b012bebaefc635a19210e72ca.zip |
mod_muc_mam: Disable presence logging by default
Diffstat (limited to 'plugins/mod_muc_mam.lua')
-rw-r--r-- | plugins/mod_muc_mam.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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); |