Skip to content

Commit 66d292f

Browse files
committed
Use our own jitsi widget for the popout URL
rather than the URL supplied by the widget
1 parent f3e2ab6 commit 66d292f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/components/views/elements/AppTile.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,13 @@ export default class AppTile extends React.Component {
591591
}
592592

593593
_getPopoutUrl() {
594-
return this._templatedUrl(this._getSafeUrl(this.props.app.url));
594+
if (this.props.app.type === 'jitsi') {
595+
return WidgetUtils.getLocalJitsiWrapperUrl({forLocalRender: false});
596+
} else {
597+
// use app.url, not state.widgetUrl, because we want the one without
598+
// the wURL params for the popped-out version.
599+
return this._templatedUrl(this._getSafeUrl(this.props.app.url));
600+
}
595601
}
596602

597603
_getSafeUrl(u) {

0 commit comments

Comments
 (0)