mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
mod_muc_mam: Disable presence logging by default
This commit is contained in:
parent
3322ba6449
commit
b15877ac0f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue