Changeset

3978:dd8ef22d4857

Merge
author Kim Alvefur <zash@zash.se>
date Sat, 18 Apr 2020 15:43:08 +0200
parents 3977:bbfcd786cc78 (current diff) 3976:3e4904cd7021 (diff)
children 3979:6bf362008052
files
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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