mirror of https://github.com/vector-im/riot-web
Merge pull request #4323 from matrix-org/dbkr/use_own_jitsi_widget_for_popout
Use our own jitsi widget for the popout URLpull/21833/head
commit
144c657b61
|
@ -591,8 +591,14 @@ export default class AppTile extends React.Component {
|
|||
}
|
||||
|
||||
_getPopoutUrl() {
|
||||
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) {
|
||||
const parsedWidgetUrl = url.parse(u, true);
|
||||
|
|
Loading…
Reference in New Issue