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 &&
|
||||
this.isLargeContainerTypeVisible(VIDEO_CONTAINER_TYPE)) ||
|
||||
pinnedId === resourceJid ||
|
||||
(resourceJid &&
|
||||
(!pinnedId && resourceJid &&
|
||||
currentDominantSpeaker === resourceJid)) {
|
||||
this.updateLargeVideo(resourceJid, true);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue