mod_muc_defaults/mod_muc_defaults.lua
changeset 3979 d1bc50890343
parent 3627 da2d58208574
child 4424 a81516906822
--- a/mod_muc_defaults/mod_muc_defaults.lua	Mon Apr 13 21:53:01 2020 +0200
+++ b/mod_muc_defaults/mod_muc_defaults.lua	Fri Apr 17 17:19:17 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