mirror of https://github.com/vector-im/riot-web
Use our own jitsi widget for the popout URL
rather than the URL supplied by the widgetpull/21833/head
parent
f3e2ab6098
commit
66d292f722
|
@ -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…
Reference in New Issue