Pārlūkot izejas kodu

fix: Skips check on domain verification disabled. Fixes #9313.

master
damencho 4 gadus atpakaļ
vecāks
revīzija
acdde6f1f5
1 mainītis faili ar 4 papildinājumiem un 1 dzēšanām
  1. 4
    1
      resources/prosody-plugins/token/util.lib.lua

+ 4
- 1
resources/prosody-plugins/token/util.lib.lua Parādīt failu

@@ -347,7 +347,10 @@ function Util:verify_room(session, room_address)
347 347
         return true;
348 348
     end
349 349
 
350
-    local auth_room = string.lower(session.jitsi_meet_room);
350
+    local auth_room = session.jitsi_meet_room;
351
+    if auth_room then
352
+        auth_room = string.lower(auth_room);
353
+    end
351 354
     if not self.enableDomainVerification then
352 355
         -- if auth_room is missing, this means user is anonymous (no token for
353 356
         -- its domain) we let it through, jicofo is verifying creation domain

Notiek ielāde…
Atcelt
Saglabāt