Export the matrix client from the store

pull/21833/head
Travis Ralston 2020-07-13 13:18:01 -06:00
parent a8829f09d0
commit eb78b1b328
1 changed files with 4 additions and 0 deletions

View File

@ -78,6 +78,10 @@ export class RoomListStore2 extends AsyncStoreWithClient<ActionPayload> {
return this.algorithm.getOrderedRooms();
}
public get matrixClient(): MatrixClient {
return super.matrixClient;
}
// Intended for test usage
public async resetStore() {
await this.reset();