mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:55:00 +08:00
Export the matrix client from the store
This commit is contained in:
parent
a8829f09d0
commit
eb78b1b328
@ -78,6 +78,10 @@ export class RoomListStore2 extends AsyncStoreWithClient<ActionPayload> {
|
|||||||
return this.algorithm.getOrderedRooms();
|
return this.algorithm.getOrderedRooms();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public get matrixClient(): MatrixClient {
|
||||||
|
return super.matrixClient;
|
||||||
|
}
|
||||||
|
|
||||||
// Intended for test usage
|
// Intended for test usage
|
||||||
public async resetStore() {
|
public async resetStore() {
|
||||||
await this.reset();
|
await this.reset();
|
||||||
|
Loading…
Reference in New Issue
Block a user