participants: fix accessing the local participant ID

getLocalParticipant returns a participant object stored in Redux, not a
JitsiParticipant object.
This commit is contained in:
Saúl Ibarra Corretgé 2020-05-06 15:11:54 +02:00 committed by Saúl Ibarra Corretgé
parent eee1f50ed2
commit 2b526557e4
1 changed files with 1 additions and 1 deletions

View File

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