Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(rn,filmstrip) fix dropping tiles on conference join

Saúl Ibarra Corretgé8818f4f4e669
diff --git a/react/features/filmstrip/subscriber.native.js b/react/features/filmstrip/subscriber.native.js
index ac53366adf..b71b0a0324 100644
--- a/react/features/filmstrip/subscriber.native.js
+++ b/react/features/filmstrip/subscriber.native.js
@@ -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([]));