Procházet zdrojové kódy

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

j8
Leonard Kim před 8 roky
rodič
revize
42b51e3c5c
1 změnil soubory, kde provedl 2 přidání a 5 odebrání
  1. 2
    5
      modules/UI/videolayout/Filmstrip.js

+ 2
- 5
modules/UI/videolayout/Filmstrip.js Zobrazit soubor

@@ -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
 

Načítá se…
Zrušit
Uložit