mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-25 11:13:41 +00:00
Use MatrixClientPeg::safeGet for strict typing (#10989)
This commit is contained in:
committed by
GitHub
parent
d64018ce26
commit
9b5b053148
@@ -55,7 +55,7 @@ export class IntegrationManagers {
|
||||
|
||||
public startWatching(): void {
|
||||
this.stopWatching();
|
||||
this.client = MatrixClientPeg.get();
|
||||
this.client = MatrixClientPeg.safeGet();
|
||||
this.client.on(ClientEvent.AccountData, this.onAccountData);
|
||||
this.client.on(ClientEvent.ClientWellKnown, this.setupHomeserverManagers);
|
||||
this.compileManagers();
|
||||
|
||||
Reference in New Issue
Block a user