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(prosody): Drops not needed checks.

damenchoac84afae7cf1
diff --git a/resources/prosody-plugins/mod_muc_auth_ban.lua b/resources/prosody-plugins/mod_muc_auth_ban.lua
index 33bc331afb..0d4c62b5b2 100644
--- a/resources/prosody-plugins/mod_muc_auth_ban.lua
+++ b/resources/prosody-plugins/mod_muc_auth_ban.lua
@@ -42,7 +42,7 @@ end);
local function shouldAllow(session)
local token = session.auth_token;
- if token ~= nil and session.jitsi_web_query_room and session.jitsi_web_query_prefix then
+ if token ~= nil then
-- cached tokens are banned
if cache:get(token) then
return false;