Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Removes disableRoomNameConstraints option.
damencho0805b9e99e4b
diff --git a/resources/prosody-plugins/token/util.lib.lua b/resources/prosody-plugins/token/util.lib.luaindex 9b486897b8..937bba62a2 100644--- a/resources/prosody-plugins/token/util.lib.lua+++ b/resources/prosody-plugins/token/util.lib.lua@@ -36,7 +36,6 @@ function Util.new(module)self.appSecret = module:get_option_string("app_secret");self.asapKeyServer = module:get_option_string("asap_key_server");self.allowEmptyToken = module:get_option_boolean("allow_empty_token");- self.disableRoomNameConstraints = module:get_option_boolean("disable_room_name_constraints");if self.allowEmptyToken == true thenmodule:log("warn", "WARNING - empty tokens allowed");@@ -136,7 +135,7 @@ function Util:verify_token(token)endlocal roomClaim = claims["room"];- if roomClaim == nil and self.disableRoomNameConstraints ~= true then+ if roomClaim == nil thenreturn nil, "'room' claim is missing";end@@ -214,7 +213,7 @@ function Util:verify_room(session, room_address)endlocal auth_room = session.jitsi_meet_room;- if self.disableRoomNameConstraints ~= true and room ~= string.lower(auth_room) then+ if room ~= string.lower(auth_room) thenreturn false;end