Merge
authorJC Brand <jc@opkode.com>
Fri, 17 Apr 2020 17:20:51 +0200
changeset 3980 3e4904cd7021
parent 3979 d1bc50890343 (diff)
parent 3978 f14c862598a9 (current diff)
child 3982 dd8ef22d4857
Merge
--- 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