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

This commit is contained in:
damencho 2021-06-02 10:30:09 -05:00 committed by Дамян Минков
parent 81c4e9a7fd
commit acdde6f1f5
1 changed files with 4 additions and 1 deletions

View File

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