You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
change to defaults
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -435,7 +435,7 @@ async function _startCallApp(roomId, type) {
|
|||||||
const confId = room.roomId.replace(/[^A-Za-z0-9]/g, '') + widgetSessionId;
|
const confId = room.roomId.replace(/[^A-Za-z0-9]/g, '') + widgetSessionId;
|
||||||
const jitsiDomain = SdkConfig.get()['jitsi']['preferredDomain'];
|
const jitsiDomain = SdkConfig.get()['jitsi']['preferredDomain'];
|
||||||
|
|
||||||
const widgetUrl = WidgetUtils.getLocalJitsiWrapperUrl({});
|
const widgetUrl = WidgetUtils.getLocalJitsiWrapperUrl();
|
||||||
|
|
||||||
const widgetData = {
|
const widgetData = {
|
||||||
widgetSessionId, // TODO: Remove this eventually
|
widgetSessionId, // TODO: Remove this eventually
|
||||||
|
|||||||
@@ -474,7 +474,7 @@ export default class WidgetUtils {
|
|||||||
return encodeURIComponent(`${widgetLocation}::${widgetUrl}`);
|
return encodeURIComponent(`${widgetLocation}::${widgetUrl}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
static getLocalJitsiWrapperUrl(opts: {forLocalRender?: boolean}) {
|
static getLocalJitsiWrapperUrl(opts: {forLocalRender?: boolean}={}) {
|
||||||
// NB. we can't just encodeURIComponent all of these because the $ signs need to be there
|
// NB. we can't just encodeURIComponent all of these because the $ signs need to be there
|
||||||
const queryString = [
|
const queryString = [
|
||||||
'conferenceDomain=$domain',
|
'conferenceDomain=$domain',
|
||||||
|
|||||||
Reference in New Issue
Block a user