1
0
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:
Timo
2025-08-20 18:48:56 +02:00
committed by GitHub
parent 81e42b9531
commit 3a33c658bb
4 changed files with 52 additions and 7 deletions

View File

@@ -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 {