change to defaults

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2020-03-21 10:49:55 +00:00
parent ca02ff493c
commit 506927ad8a
2 changed files with 2 additions and 2 deletions

View File

@ -435,7 +435,7 @@ async function _startCallApp(roomId, type) {
const confId = room.roomId.replace(/[^A-Za-z0-9]/g, '') + widgetSessionId;
const jitsiDomain = SdkConfig.get()['jitsi']['preferredDomain'];
const widgetUrl = WidgetUtils.getLocalJitsiWrapperUrl({});
const widgetUrl = WidgetUtils.getLocalJitsiWrapperUrl();
const widgetData = {
widgetSessionId, // TODO: Remove this eventually

View File

@ -474,7 +474,7 @@ export default class WidgetUtils {
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
const queryString = [
'conferenceDomain=$domain',