Additional comments

This commit is contained in:
Hugh Nimmo-Smith
2025-03-07 08:02:55 +00:00
parent 5d2e5e38e2
commit 4cc7365ffb

View File

@@ -465,11 +465,21 @@ export class CallViewModel extends ViewModel {
},
);
/**
* Observable for changes to the MatrixRTCSession membership list.
*
* We do this to ensure that we only listen once to the event and then share internally.
*/
private readonly membershipsChanged$ = fromEvent(
this.matrixRTCSession,
MatrixRTCSessionEvent.MembershipsChanged,
).pipe(share());
/**
* Observable for changes to the Matrix Room member data.
*
* We do this to ensure that we only listen once to the event and then share internally.
*/
private readonly roomMembers$ = fromEvent(
this.matrixRTCSession.room,
RoomStateEvent.Members,