Update src/state/CallViewModel.ts

Co-authored-by: Timo <16718859+toger5@users.noreply.github.com>
This commit is contained in:
Hugh Nimmo-Smith
2024-11-27 14:47:31 +00:00
committed by GitHub
parent cc1f0d5d19
commit 133dc26642

View File

@@ -435,7 +435,9 @@ export class CallViewModel extends ViewModel {
this.remoteParticipants,
observeParticipantMedia(this.livekitRoom.localParticipant),
duplicateTiles.value,
// Also react to changes in the MatrixRTC session list:
// Also react to changes in the MatrixRTC session list.
// The session list will also be update if a room membership changes.
// No additional RoomState event listener needs to be set up.
fromEvent(
this.matrixRTCSession,
MatrixRTCSessionEvent.MembershipsChanged,