aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/muc/presence_broadcast.lib.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/muc/presence_broadcast.lib.lua b/plugins/muc/presence_broadcast.lib.lua
index 613e6403..72e0d76b 100644
--- a/plugins/muc/presence_broadcast.lib.lua
+++ b/plugins/muc/presence_broadcast.lib.lua
@@ -11,7 +11,6 @@ local st = require "util.stanza";
local valid_roles = { "visitor", "participant", "moderator" };
local default_broadcast = {
- none = true;
visitor = true;
participant = true;
moderator = true;
@@ -24,9 +23,6 @@ end
local function set_presence_broadcast(room, broadcast_roles)
broadcast_roles = broadcast_roles or default_broadcast;
- -- Ensure that unavailable presence is always sent when role changes to none
- broadcast_roles.none = true;
-
local changed = false;
local old_broadcast_roles = get_presence_broadcast(room);
for _, role in ipairs(valid_roles) do