Merge pull request #553 from damencho/fix-replacing-pinned
Fixes and issue where: if we receive dominant speaker event just befo…
This commit is contained in:
commit
9b09e61877
|
@ -384,7 +384,7 @@ var VideoLayout = {
|
||||||
!currentDominantSpeaker &&
|
!currentDominantSpeaker &&
|
||||||
this.isLargeContainerTypeVisible(VIDEO_CONTAINER_TYPE)) ||
|
this.isLargeContainerTypeVisible(VIDEO_CONTAINER_TYPE)) ||
|
||||||
pinnedId === resourceJid ||
|
pinnedId === resourceJid ||
|
||||||
(resourceJid &&
|
(!pinnedId && resourceJid &&
|
||||||
currentDominantSpeaker === resourceJid)) {
|
currentDominantSpeaker === resourceJid)) {
|
||||||
this.updateLargeVideo(resourceJid, true);
|
this.updateLargeVideo(resourceJid, true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue