Merge pull request #3861 from matrix-org/dbkr/suppress_integrationmanagers_error

Check for a matrixclient before trying to use it
pull/21833/head
David Baker 2020-01-17 14:09:05 +00:00 committed by GitHub
commit 3a29a5e66c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -83,6 +83,7 @@ export class IntegrationManagers {
}
async _setupHomeserverManagers() {
if (!MatrixClientPeg.get()) return;
try {
console.log("Updating homeserver-configured integration managers...");
const homeserverDomain = MatrixClientPeg.getHomeserverName();