Skip to content

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

Updates tokens room name verification to be case insensitive.

damenchof3381b31edc0
diff --git a/prosody-plugins/mod_token_verification.lua b/prosody-plugins/mod_token_verification.lua
index 5bba0f0516..6ea183834c 100644
--- a/prosody-plugins/mod_token_verification.lua
+++ b/prosody-plugins/mod_token_verification.lua
@@ -60,7 +60,7 @@ local function verify_user(session, stanza)
local token = session.auth_token;
local auth_room = session.jitsi_meet_room;
- if room ~= auth_room and disableRoomNameConstraints ~= true then
+ if disableRoomNameConstraints ~= true and room ~= string.lower(auth_room) then
log("error", "Token %s not allowed to join: %s",
tostring(token), tostring(auth_room));
session.send(