You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-09-10 15:51:57 +03:00
Appease the linter 2
This commit is contained in:
@@ -42,6 +42,10 @@ export abstract class ReadyWatchingStore extends EventEmitter implements IDestro
|
||||
return this.matrixClient; // for external readonly access
|
||||
}
|
||||
|
||||
public useUnitTestClient(cli: MatrixClient) {
|
||||
this.matrixClient = cli;
|
||||
}
|
||||
|
||||
public destroy() {
|
||||
this.dispatcher.unregister(this.dispatcherRef);
|
||||
}
|
||||
|
@@ -114,7 +114,7 @@ export class RoomListStoreClass extends AsyncStoreWithClient<IState> {
|
||||
// Public for test usage. Do not call this.
|
||||
public async makeReady(forcedClient?: MatrixClient) {
|
||||
if (forcedClient) {
|
||||
super.readyStore.matrixClient = forcedClient;
|
||||
super.readyStore.useUnitTestClient(forcedClient);
|
||||
}
|
||||
|
||||
this.checkLoggingEnabled();
|
||||
|
Reference in New Issue
Block a user