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

Check for a matrixclient before trying to use it
This commit is contained in:
David Baker
2020-01-17 14:09:05 +00:00
committed by GitHub

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();