mirror of
https://github.com/vector-im/element-call.git
synced 2026-03-28 06:50:26 +00:00
Additional comments
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user