1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-12-04 05:02:41 +03:00

Expose room state helper (#2162)

This commit is contained in:
Germain
2022-02-08 12:08:43 +00:00
committed by GitHub
parent 5d4e3183aa
commit 9120b1dfd9

View File

@@ -109,7 +109,7 @@ export class Thread extends TypedEventEmitter<ThreadEvent> {
} }
}; };
private get roomState(): RoomState { public get roomState(): RoomState {
return this.room.getLiveTimeline().getState(EventTimeline.FORWARDS); return this.room.getLiveTimeline().getState(EventTimeline.FORWARDS);
} }