瀏覽代碼

fix(1-on-1): remove torture test workaround, add new tests

j8
Leonard Kim 8 年之前
父節點
當前提交
42b51e3c5c
共有 1 個文件被更改,包括 2 次插入5 次删除
  1. 2
    5
      modules/UI/videolayout/Filmstrip.js

+ 2
- 5
modules/UI/videolayout/Filmstrip.js 查看文件

@@ -40,11 +40,8 @@ const Filmstrip = {
40 40
      * @returns {void}
41 41
      */
42 42
     setRemoteVideoVisibility(shouldShow) {
43
-        // FIXME Checking config.debug is a grand hack to avoid fixing the
44
-        // torture tests after the 1-on-1 UI was implemented, which hides remote
45
-        // videos on 1-on-1 calls. If this check is to be kept, at least create
46
-        // new torture tests to verify 1-on-1 mode.
47
-        if (config.debug || config.disable1On1Mode) {
43
+        // Allow disabling on 1-on-1 UI mode. Used by torture tests.
44
+        if (config.disable1On1Mode) {
48 45
             return;
49 46
         }
50 47
 

Loading…
取消
儲存