Browse Source

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

master
Leonard Kim 6 years ago
parent
commit
c34f9cf233
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      react/features/video-layout/subscriber.js

+ 1
- 1
react/features/video-layout/subscriber.js View File

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

Loading…
Cancel
Save