aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/presence_broadcast.lib.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2020-03-12 16:01:31 +0000
committerMatthew Wild <mwild1@gmail.com>2020-03-12 16:01:31 +0000
commit64bb781dfec9b44618da58991aab292b1e360be1 (patch)
treed006ce78b81e596d47d0152a6356ef96939d7b7c /plugins/muc/presence_broadcast.lib.lua
parent572526d384fa79688a189c2e5d37614036b7ffd3 (diff)
downloadprosody-64bb781dfec9b44618da58991aab292b1e360be1.tar.gz
prosody-64bb781dfec9b44618da58991aab292b1e360be1.zip
MUC: Support for broadcasting unavailable presence for affiliated offline users
Activated when muc#roomconfig_presencebroadcast includes the "none" role.
Diffstat (limited to 'plugins/muc/presence_broadcast.lib.lua')
-rw-r--r--plugins/muc/presence_broadcast.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/presence_broadcast.lib.lua b/plugins/muc/presence_broadcast.lib.lua
index 72e0d76b..82a89fee 100644
--- a/plugins/muc/presence_broadcast.lib.lua
+++ b/plugins/muc/presence_broadcast.lib.lua
@@ -9,7 +9,7 @@
local st = require "util.stanza";
-local valid_roles = { "visitor", "participant", "moderator" };
+local valid_roles = { "none", "visitor", "participant", "moderator" };
local default_broadcast = {
visitor = true;
participant = true;