[SDK] fix slots missing initial status value

This commit is contained in:
Timo K.
2026-10-08 13:53:57 +02:00
parent e44dfe1898
commit 2bb870f6e7
3 changed files with 89 additions and 2 deletions
+6
View File
@@ -273,6 +273,12 @@ export class MockRTCSession extends TypedEventEmitter<
return this.joined;
}
/** The slot event's content; undefined while the room has none. */
public rtcSlot: ReturnType<MatrixRTCSession["getRtcSlot"]> = undefined;
public getRtcSlot(): ReturnType<MatrixRTCSession["getRtcSlot"]> {
return this.rtcSlot;
}
public isKeyRotationSuppressed = false;
public withMemberships(