瀏覽代碼

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

* do not show conference info in prejoin or lobby

Signed-off-by: Joshua Irmer <irmer@gonicus.de>

* fix typo

Signed-off-by: Joshua Irmer <irmer@gonicus.de>

---------

Signed-off-by: Joshua Irmer <irmer@gonicus.de>
factor2
Joshua Irmer 8 月之前
父節點
當前提交
31a4f2a4ec
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 4 行新增4 行删除
  1. 4
    4
      react/features/conference/components/web/Conference.tsx

+ 4
- 4
react/features/conference/components/web/Conference.tsx 查看文件

@@ -163,7 +163,7 @@ class Conference extends AbstractConference<IProps, any> {
163 163
 
164 164
         // Bind event handler so it is only bound once for every instance.
165 165
         this._onFullScreenChange = this._onFullScreenChange.bind(this);
166
-        this._onVidespaceTouchStart = this._onVidespaceTouchStart.bind(this);
166
+        this._onVideospaceTouchStart = this._onVideospaceTouchStart.bind(this);
167 167
         this._setBackground = this._setBackground.bind(this);
168 168
     }
169 169
 
@@ -241,11 +241,11 @@ class Conference extends AbstractConference<IProps, any> {
241 241
                     className = { _layoutClassName }
242 242
                     id = 'videoconference_page'
243 243
                     onMouseMove = { isMobileBrowser() ? undefined : this._onShowToolbar }>
244
-                    <ConferenceInfo />
244
+                    { _showPrejoin || _showLobby || <ConferenceInfo /> }
245 245
                     <Notice />
246 246
                     <div
247 247
                         id = 'videospace'
248
-                        onTouchStart = { this._onVidespaceTouchStart }>
248
+                        onTouchStart = { this._onVideospaceTouchStart }>
249 249
                         <LargeVideo />
250 250
                         {
251 251
                             _showPrejoin || _showLobby || (<>
@@ -322,7 +322,7 @@ class Conference extends AbstractConference<IProps, any> {
322 322
      * @private
323 323
      * @returns {void}
324 324
      */
325
-    _onVidespaceTouchStart() {
325
+    _onVideospaceTouchStart() {
326 326
         this.props.dispatch(toggleToolboxVisible());
327 327
     }
328 328
 

Loading…
取消
儲存