Browse Source

Fixes and issue where: if we receive dominant speaker event just before the video start playing, this can override already pinned video.

j8
damencho 9 years ago
parent
commit
d48ef06ddb
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      modules/UI/videolayout/VideoLayout.js

+ 1
- 1
modules/UI/videolayout/VideoLayout.js View File

@@ -384,7 +384,7 @@ var VideoLayout = {
384 384
             !currentDominantSpeaker &&
385 385
             this.isLargeContainerTypeVisible(VIDEO_CONTAINER_TYPE)) ||
386 386
             pinnedId === resourceJid ||
387
-            (resourceJid &&
387
+            (!pinnedId && resourceJid &&
388 388
                 currentDominantSpeaker === resourceJid)) {
389 389
             this.updateLargeVideo(resourceJid, true);
390 390
         }

Loading…
Cancel
Save