Jitsi: Use integrations URL from config

This commit is contained in:
David Baker 2018-07-16 16:35:45 +01:00
parent d16ac4d80c
commit e95a8e82bc

View File

@ -59,6 +59,7 @@ import sdk from './index';
import { _t } from './languageHandler';
import Matrix from 'matrix-js-sdk';
import dis from './dispatcher';
import SdkConfig from './SdkConfig';
import { showUnknownDeviceDialogForCalls } from './cryptodevices';
import SettingsStore from "./settings/SettingsStore";
import WidgetUtils from './utils/WidgetUtils';
@ -444,8 +445,8 @@ function _startCallApp(roomId, type) {
'email=$matrix_user_id',
].join('&');
const widgetUrl = (
'https://scalar.vector.im/api/widgets' +
'/jitsi.html?' +
SdkConfig.get().integrations_rest_url +
'/widgets/jitsi.html?' +
queryString
);