fix(rn,filmstrip) fix dropping tiles on conference join
This commit is contained in:
parent
aebe4885bb
commit
8818f4f4e6
|
@ -1,5 +1,6 @@
|
|||
// @flow
|
||||
|
||||
import { getCurrentConference } from '../base/conference/functions';
|
||||
import { StateListenerRegistry } from '../base/redux';
|
||||
import { shouldDisplayTileView } from '../video-layout';
|
||||
|
||||
|
@ -35,7 +36,7 @@ StateListenerRegistry.register(
|
|||
* Listens for changes in the current conference and clears remote participants from this feature.
|
||||
*/
|
||||
StateListenerRegistry.register(
|
||||
state => state['features/base/conference'].conference,
|
||||
state => getCurrentConference(state),
|
||||
(conference, { dispatch }, previousConference) => {
|
||||
if (conference !== previousConference) {
|
||||
dispatch(setRemoteParticipants([]));
|
||||
|
|
Loading…
Reference in New Issue