fix(1-on-1): remove torture test workaround, add new tests
This commit is contained in:
parent
ff0e392ca8
commit
42b51e3c5c
|
@ -40,11 +40,8 @@ const Filmstrip = {
|
||||||
* @returns {void}
|
* @returns {void}
|
||||||
*/
|
*/
|
||||||
setRemoteVideoVisibility(shouldShow) {
|
setRemoteVideoVisibility(shouldShow) {
|
||||||
// FIXME Checking config.debug is a grand hack to avoid fixing the
|
// Allow disabling on 1-on-1 UI mode. Used by torture tests.
|
||||||
// torture tests after the 1-on-1 UI was implemented, which hides remote
|
if (config.disable1On1Mode) {
|
||||||
// videos on 1-on-1 calls. If this check is to be kept, at least create
|
|
||||||
// new torture tests to verify 1-on-1 mode.
|
|
||||||
if (config.debug || config.disable1On1Mode) {
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue