Merge pull request #4327 from matrix-org/dbkr/template_popout_url_rel

Fix jitsi popout URL
This commit is contained in:
David Baker 2020-04-01 14:45:02 +01:00 committed by GitHub
commit c027c5da41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -592,7 +592,9 @@ export default class AppTile extends React.Component {
_getPopoutUrl() {
if (this.props.app.type === 'jitsi') {
return WidgetUtils.getLocalJitsiWrapperUrl({forLocalRender: false});
return this._templatedUrl(
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.