Parcourir la source

fix(screenshare): properly gate autopin behavior behind flag check

master
Leonard Kim il y a 6 ans
Parent
révision
c34f9cf233
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      react/features/video-layout/subscriber.js

+ 1
- 1
react/features/video-layout/subscriber.js Voir le fichier

@@ -46,7 +46,7 @@ StateListenerRegistry.register(
46 46
     /* selector */ state => state['features/base/tracks'],
47 47
     /* listener */ (tracks, store) => {
48 48
         if (typeof interfaceConfig !== 'object'
49
-            && !interfaceConfig.AUTO_PIN_LATEST_SCREEN_SHARE) {
49
+            || !interfaceConfig.AUTO_PIN_LATEST_SCREEN_SHARE) {
50 50
             return;
51 51
         }
52 52
 

Chargement…
Annuler
Enregistrer