Browse Source

participants: fix accessing the local participant ID

getLocalParticipant returns a participant object stored in Redux, not a
JitsiParticipant object.
master
Saúl Ibarra Corretgé 5 years ago
parent
commit
2b526557e4
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      react/features/base/participants/middleware.js

+ 1
- 1
react/features/base/participants/middleware.js View File

@@ -231,7 +231,7 @@ StateListenerRegistry.register(
231 231
 
232 232
                 });
233 233
         } else {
234
-            const localParticipantId = getLocalParticipant(store.getState).getId();
234
+            const localParticipantId = getLocalParticipant(store.getState).id;
235 235
 
236 236
             // We left the conference, the local participant must be updated.
237 237
             _e2eeUpdated(store, conference, localParticipantId, false);

Loading…
Cancel
Save