fix(screenshare): properly gate autopin behavior behind flag check
This commit is contained in:
parent
76642b7c4b
commit
c34f9cf233
|
@ -46,7 +46,7 @@ StateListenerRegistry.register(
|
||||||
/* selector */ state => state['features/base/tracks'],
|
/* selector */ state => state['features/base/tracks'],
|
||||||
/* listener */ (tracks, store) => {
|
/* listener */ (tracks, store) => {
|
||||||
if (typeof interfaceConfig !== 'object'
|
if (typeof interfaceConfig !== 'object'
|
||||||
&& !interfaceConfig.AUTO_PIN_LATEST_SCREEN_SHARE) {
|
|| !interfaceConfig.AUTO_PIN_LATEST_SCREEN_SHARE) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue