# HG changeset patch # User Kim Alvefur # Date 1587217388 -7200 # Node ID dd8ef22d4857253a8dcd83d12ad0e2b781bdec12 # Parent bbfcd786cc786c48621a4c584a8300fd6a1a9e7a# Parent 3e4904cd702187528aa42f639cfca22f6b00a2b5 Merge diff -r bbfcd786cc78 -r dd8ef22d4857 mod_muc_defaults/mod_muc_defaults.lua --- 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