participants: fix accessing the local participant ID
getLocalParticipant returns a participant object stored in Redux, not a JitsiParticipant object.
This commit is contained in:
parent
eee1f50ed2
commit
2b526557e4
|
@ -231,7 +231,7 @@ StateListenerRegistry.register(
|
||||||
|
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
const localParticipantId = getLocalParticipant(store.getState).getId();
|
const localParticipantId = getLocalParticipant(store.getState).id;
|
||||||
|
|
||||||
// We left the conference, the local participant must be updated.
|
// We left the conference, the local participant must be updated.
|
||||||
_e2eeUpdated(store, conference, localParticipantId, false);
|
_e2eeUpdated(store, conference, localParticipantId, false);
|
||||||
|
|
Loading…
Reference in New Issue