This seems to be causing a lot of weirdness, presumably because there's another missing thing like in #135, but I don't know what it might be and it feels like it might take a while to find. Backing these changes out to fix develop while we sort it out. Fixes https://github.com/element-hq/element-web/issues/28179
This commit is contained in:
@@ -36,13 +36,8 @@ export abstract class AsyncStoreWithClient<T extends Object> extends AsyncStore<
|
||||
})(dispatcher);
|
||||
}
|
||||
|
||||
protected async start(matrixClient: MatrixClient | null): Promise<void> {
|
||||
await this.readyStore.start(matrixClient);
|
||||
}
|
||||
|
||||
// XXX: This method is intended only for use in tests.
|
||||
public async useUnitTestClient(cli: MatrixClient): Promise<void> {
|
||||
await this.readyStore.useUnitTestClient(cli);
|
||||
public async start(): Promise<void> {
|
||||
await this.readyStore.start();
|
||||
}
|
||||
|
||||
public get matrixClient(): MatrixClient | null {
|
||||
|
||||
Reference in New Issue
Block a user