Skip to content

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

participants: fix accessing the local participant ID

Saúl Ibarra Corretgé2b526557e466
diff --git a/react/features/base/participants/middleware.js b/react/features/base/participants/middleware.js
index 9886b6219a..3635047088 100644
--- a/react/features/base/participants/middleware.js
+++ b/react/features/base/participants/middleware.js
@@ -231,7 +231,7 @@ StateListenerRegistry.register(
});
} else {
- const localParticipantId = getLocalParticipant(store.getState).getId();
+ const localParticipantId = getLocalParticipant(store.getState).id;
// We left the conference, the local participant must be updated.
_e2eeUpdated(store, conference, localParticipantId, false);