Merge pull request #4323 from matrix-org/dbkr/use_own_jitsi_widget_for_popout
Use our own jitsi widget for the popout URL
This commit is contained in:
commit
144c657b61
1 changed files with 7 additions and 1 deletions
|
@ -591,7 +591,13 @@ export default class AppTile extends React.Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
_getPopoutUrl() {
|
_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) {
|
_getSafeUrl(u) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue