浏览代码

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

j8
damencho 3 年前
父节点
当前提交
acdde6f1f5
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4
    1
      resources/prosody-plugins/token/util.lib.lua

+ 4
- 1
resources/prosody-plugins/token/util.lib.lua 查看文件

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

正在加载...
取消
保存