Sfoglia il codice sorgente

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

j8
damencho 3 anni fa
parent
commit
acdde6f1f5
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. 4
    1
      resources/prosody-plugins/token/util.lib.lua

+ 4
- 1
resources/prosody-plugins/token/util.lib.lua Vedi File

@@ -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

Loading…
Annulla
Salva