You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-25 05:23:13 +03:00
Expose the StatusChanged event through the RTCSession (#4974)
* Expose the StatusChanged event through the RTCSession Signed-off-by: Timo K <toger5@hotmail.de> * add membershipManagerStatus public get field Signed-off-by: Timo K <toger5@hotmail.de> * add probably left as a getter Signed-off-by: Timo K <toger5@hotmail.de> * add tests for coverage Signed-off-by: Timo K <toger5@hotmail.de> --------- Signed-off-by: Timo K <toger5@hotmail.de>
This commit is contained in:
@@ -984,6 +984,10 @@ export class MembershipManager
|
||||
this.logger.error("MembershipManager has an unknown state. Actions: ", actions);
|
||||
return Status.Unknown;
|
||||
}
|
||||
|
||||
public get probablyLeft(): boolean {
|
||||
return this.state.probablyLeft;
|
||||
}
|
||||
}
|
||||
|
||||
function createInsertActionUpdate(type: MembershipActionType, offset?: number): ActionUpdate {
|
||||
|
||||
Reference in New Issue
Block a user