Software /
code /
prosody-modules
Changeset
3976:3e4904cd7021
Merge
author | JC Brand <jc@opkode.com> |
---|---|
date | Fri, 17 Apr 2020 17:20:51 +0200 |
parents | 3975:d1bc50890343 (diff) 3974:f14c862598a9 (current diff) |
children | 3978:dd8ef22d4857 |
files | |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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