mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
feat: Updates for jwt when room claim is not required.
This allows mod_token_verification to be used with token missing room claim (firebase) and jitsi tokens with the claim.
This commit is contained in:
@@ -381,7 +381,13 @@ function Util:verify_room(session, room_address)
|
||||
end
|
||||
module:log("debug", "room to check: %s", room_to_check)
|
||||
if not room_to_check then
|
||||
return false
|
||||
if not self.requireRoomClaim then
|
||||
-- if we do not require to have the room claim, and it is missing
|
||||
-- there is no point of continue and verifying the roomName and the tenant
|
||||
return true;
|
||||
end
|
||||
|
||||
return false;
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user