From 66d292f7225a31198c4321da9c9f8815ee8aeada Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 1 Apr 2020 13:58:44 +0100 Subject: [PATCH] Use our own jitsi widget for the popout URL rather than the URL supplied by the widget --- src/components/views/elements/AppTile.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/views/elements/AppTile.js b/src/components/views/elements/AppTile.js index ef69acb1fb..97c137074b 100644 --- a/src/components/views/elements/AppTile.js +++ b/src/components/views/elements/AppTile.js @@ -591,7 +591,13 @@ export default class AppTile extends React.Component { } _getPopoutUrl() { - return this._templatedUrl(this._getSafeUrl(this.props.app.url)); + if (this.props.app.type === 'jitsi') { + return WidgetUtils.getLocalJitsiWrapperUrl({forLocalRender: false}); + } else { + // use app.url, not state.widgetUrl, because we want the one without + // the wURL params for the popped-out version. + return this._templatedUrl(this._getSafeUrl(this.props.app.url)); + } } _getSafeUrl(u) {