mirror of https://github.com/vector-im/riot-web
Add (potential) Jitsi auth type to widget data
So we don't have to fetch the auth type when joining the conference.pull/21833/head
parent
680de2af95
commit
a511ad6633
|
@ -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 = (
|
||||
|
|
Loading…
Reference in New Issue