--- a/mod_muc_defaults/mod_muc_defaults.lua Thu Apr 16 17:34:53 2020 +0200
+++ b/mod_muc_defaults/mod_muc_defaults.lua Sat Apr 18 15:43:08 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