Merge
authorKim Alvefur <zash@zash.se>
Sat, 18 Apr 2020 15:43:08 +0200
changeset 3982 dd8ef22d4857
parent 3981 bbfcd786cc78 (current diff)
parent 3980 3e4904cd7021 (diff)
child 3983 6bf362008052
Merge
--- 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