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
Fixed (#9533)
robertpin7d3953de513f
diff --git a/connection.js b/connection.jsindex 095edf1e20..35d80c1a6b 100644--- a/connection.js+++ b/connection.js@@ -90,7 +90,7 @@ export async function connect(id, password, roomName) {const state = APP.store.getState();let { jwt } = state['features/base/jwt'];- if (!jwt && isVpaasMeeting(state)) {+ if (!jwt && isVpaasMeeting(state, false)) {jwt = await getJaasJWT(state);APP.store.dispatch(setJWT(jwt));}diff --git a/react/features/billing-counter/functions.js b/react/features/billing-counter/functions.jsindex 54dcb83696..dd9d55826b 100644--- a/react/features/billing-counter/functions.js+++ b/react/features/billing-counter/functions.js@@ -36,13 +36,16 @@ export function getVpaasTenant(state: Object) {* Returns true if the current meeting is a vpaas one.** @param {Object} state - The state of the app.+ * @param {boolean} requiredJwt - Whether jwt is required or not.* @returns {boolean}*/-export function isVpaasMeeting(state: Object) {+export function isVpaasMeeting(state: Object, requiredJwt: boolean = true) {const { billingCounterUrl, iAmRecorder, iAmSipGateway } = state['features/base/config'];const { jwt } = state['features/base/jwt'];- const isAllowed = iAmRecorder || iAmSipGateway || Boolean(jwt);+ const jwtBoolean = requiredJwt ? Boolean(jwt) : true;++ const isAllowed = iAmRecorder || iAmSipGateway || jwtBoolean;return Boolean(billingCounterUrl