Use our own jitsi widget for the popout URL

rather than the URL supplied by the widget
pull/21833/head
David Baker 2020-04-01 13:58:44 +01:00
parent a76b089cf3
commit ce68b960f4
1 changed files with 7 additions and 1 deletions

View File

@ -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) {