From a511ad6633cd0ba9144146845bb9a607bb48624d Mon Sep 17 00:00:00 2001 From: Jason Robinson Date: Fri, 4 Sep 2020 10:20:58 +0300 Subject: [PATCH] Add (potential) Jitsi auth type to widget data So we don't have to fetch the auth type when joining the conference. --- src/CallHandler.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/CallHandler.js b/src/CallHandler.js index 9d1760bf43..702613bb81 100644 --- a/src/CallHandler.js +++ b/src/CallHandler.js @@ -411,12 +411,14 @@ async function _startCallApp(roomId, type) { const parsedUrl = new URL(widgetUrl); parsedUrl.search = ''; // set to empty string to make the URL class use searchParams instead parsedUrl.searchParams.set('confId', confId); + parsedUrl.searchParams.set('auth', jitsiAuth); widgetUrl = parsedUrl.toString(); const widgetData = { conferenceId: confId, isAudioOnly: type === 'voice', domain: jitsiDomain, + auth: jitsiAuth, }; const widgetId = (