Add (potential) Jitsi auth type to widget data
So we don't have to fetch the auth type when joining the conference.
This commit is contained in:
parent
680de2af95
commit
a511ad6633
1 changed files with 2 additions and 0 deletions
|
@ -411,12 +411,14 @@ async function _startCallApp(roomId, type) {
|
||||||
const parsedUrl = new URL(widgetUrl);
|
const parsedUrl = new URL(widgetUrl);
|
||||||
parsedUrl.search = ''; // set to empty string to make the URL class use searchParams instead
|
parsedUrl.search = ''; // set to empty string to make the URL class use searchParams instead
|
||||||
parsedUrl.searchParams.set('confId', confId);
|
parsedUrl.searchParams.set('confId', confId);
|
||||||
|
parsedUrl.searchParams.set('auth', jitsiAuth);
|
||||||
widgetUrl = parsedUrl.toString();
|
widgetUrl = parsedUrl.toString();
|
||||||
|
|
||||||
const widgetData = {
|
const widgetData = {
|
||||||
conferenceId: confId,
|
conferenceId: confId,
|
||||||
isAudioOnly: type === 'voice',
|
isAudioOnly: type === 'voice',
|
||||||
domain: jitsiDomain,
|
domain: jitsiDomain,
|
||||||
|
auth: jitsiAuth,
|
||||||
};
|
};
|
||||||
|
|
||||||
const widgetId = (
|
const widgetId = (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue