|
@@ -66,6 +66,7 @@ export function shouldRemoteVideosBeVisible(state: Object) {
|
66
|
66
|
// in the filmstrip.
|
67
|
67
|
const participantCount = getParticipantCountWithFake(state);
|
68
|
68
|
let pinnedParticipant;
|
|
69
|
+ const { disable1On1Mode } = state['features/base/config'];
|
69
|
70
|
|
70
|
71
|
return Boolean(
|
71
|
72
|
participantCount > 2
|
|
@@ -73,11 +74,12 @@ export function shouldRemoteVideosBeVisible(state: Object) {
|
73
|
74
|
// Always show the filmstrip when there is another participant to
|
74
|
75
|
// show and the local video is pinned, or the toolbar is displayed.
|
75
|
76
|
|| (participantCount > 1
|
|
77
|
+ && disable1On1Mode !== null
|
76
|
78
|
&& (state['features/toolbox'].visible
|
77
|
79
|
|| ((pinnedParticipant = getPinnedParticipant(state))
|
78
|
80
|
&& pinnedParticipant.local)))
|
79
|
81
|
|
80
|
|
- || state['features/base/config'].disable1On1Mode);
|
|
82
|
+ || disable1On1Mode);
|
81
|
83
|
}
|
82
|
84
|
|
83
|
85
|
/**
|