Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
filmstrip: don't display toolbar for SIP gateways
Saúl Ibarra Corretgébde2343951e6
diff --git a/react/features/filmstrip/components/web/Filmstrip.js b/react/features/filmstrip/components/web/Filmstrip.jsindex 9654c7b489..d08734126f 100644--- a/react/features/filmstrip/components/web/Filmstrip.js+++ b/react/features/filmstrip/components/web/Filmstrip.js@@ -58,6 +58,11 @@ type Props = {*/_hideScrollbar: boolean,+ /**+ * Whether the filmstrip toolbar should be hidden or not.+ */+ _hideToolbar: boolean,+/*** Whether or not remote videos are currently being hovered over. Hover* handling is currently being handled detected outside of react.@@ -195,12 +200,17 @@ class Filmstrip extends Component <Props> {remoteVideosWrapperClassName += ' hide-scrollbar';}+ let toolbar = null;++ if (!this.props._hideToolbar) {+ toolbar = this.props._filmstripOnly ? <Toolbar /> : this._renderToggleButton();+ }+return (<divclassName = { `filmstrip ${this.props._className}` }style = { filmstripStyle }>- { this.props._filmstripOnly- ? <Toolbar /> : this._renderToggleButton() }+ { toolbar }<divclassName = { this.props._videosClassName }id = 'remoteVideos'>@@ -369,6 +379,7 @@ function _mapStateToProps(state) {_filmstripOnly: isFilmstripOnly,_filmstripWidth: filmstripWidth,_hideScrollbar: Boolean(iAmSipGateway),+ _hideToolbar: Boolean(iAmSipGateway),_hovered: hovered,_rows: gridDimensions.rows,_videosClassName: videosClassName,