Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix: Fixes kick when allowners is enabled.

Дамян Минковa5129ef291c2
diff --git a/resources/prosody-plugins/mod_muc_allowners.lua b/resources/prosody-plugins/mod_muc_allowners.lua
index dc0783e670..1b16642fa3 100644
--- a/resources/prosody-plugins/mod_muc_allowners.lua
+++ b/resources/prosody-plugins/mod_muc_allowners.lua
@@ -170,8 +170,8 @@ function filter_admin_set_query(event)
return nil;
end
- -- any revoking is disabled
- if _aff ~= 'owner' then
+ -- any revoking is disabled, everyone should be owners
+ if _aff == 'none' or _aff == 'outcast' or _aff == 'member' then
origin.send(st.error_reply(stanza, "auth", "forbidden"));
return true;
end