Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(prejoin): do not show conference info in prejoin or lobby (#15591)

Joshua Irmer31a4f2a4ec2b
diff --git a/react/features/conference/components/web/Conference.tsx b/react/features/conference/components/web/Conference.tsx
index 1d30e8839a..0cf232323d 100644
--- a/react/features/conference/components/web/Conference.tsx
+++ b/react/features/conference/components/web/Conference.tsx
@@ -163,7 +163,7 @@ class Conference extends AbstractConference<IProps, any> {
// Bind event handler so it is only bound once for every instance.
this._onFullScreenChange = this._onFullScreenChange.bind(this);
- this._onVidespaceTouchStart = this._onVidespaceTouchStart.bind(this);
+ this._onVideospaceTouchStart = this._onVideospaceTouchStart.bind(this);
this._setBackground = this._setBackground.bind(this);
}
@@ -241,11 +241,11 @@ class Conference extends AbstractConference<IProps, any> {
className = { _layoutClassName }
id = 'videoconference_page'
onMouseMove = { isMobileBrowser() ? undefined : this._onShowToolbar }>
- <ConferenceInfo />
+ { _showPrejoin || _showLobby || <ConferenceInfo /> }
<Notice />
<div
id = 'videospace'
- onTouchStart = { this._onVidespaceTouchStart }>
+ onTouchStart = { this._onVideospaceTouchStart }>
<LargeVideo />
{
_showPrejoin || _showLobby || (<>
@@ -322,7 +322,7 @@ class Conference extends AbstractConference<IProps, any> {
* @private
* @returns {void}
*/
- _onVidespaceTouchStart() {
+ _onVideospaceTouchStart() {
this.props.dispatch(toggleToolboxVisible());
}