# HG changeset patch # User JC Brand # Date 1587136851 -7200 # Node ID 3e4904cd702187528aa42f639cfca22f6b00a2b5 # Parent d1bc50890343c4c11c4fa345b228fafaab0f1ede# Parent f14c862598a95db2b322e5549d913748ba18d332 Merge diff -r f14c862598a9 -r 3e4904cd7021 mod_muc_defaults/mod_muc_defaults.lua --- a/mod_muc_defaults/mod_muc_defaults.lua Wed Apr 15 21:19:45 2020 +0100 +++ b/mod_muc_defaults/mod_muc_defaults.lua Fri Apr 17 17:20:51 2020 +0200 @@ -50,6 +50,9 @@ if config.persistent ~= nil then should_save = room:set_persistent(config.persistent) or should_save; end + if config.presence_broadcast ~= nil then + should_save = room:set_presence_broadcast(config.presence_broadcast) or should_save; + end if config.public ~= nil then should_save = room:set_hidden(not config.public) or should_save; end