Pārlūkot izejas kodu

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 gadus atpakaļ
vecāks
revīzija
2b526557e4
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      react/features/base/participants/middleware.js

+ 1
- 1
react/features/base/participants/middleware.js Parādīt failu

@@ -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);

Notiek ielāde…
Atcelt
Saglabāt