mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
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:
commit
3a29a5e66c
1 changed files with 1 additions and 0 deletions
|
@ -83,6 +83,7 @@ export class IntegrationManagers {
|
||||||
}
|
}
|
||||||
|
|
||||||
async _setupHomeserverManagers() {
|
async _setupHomeserverManagers() {
|
||||||
|
if (!MatrixClientPeg.get()) return;
|
||||||
try {
|
try {
|
||||||
console.log("Updating homeserver-configured integration managers...");
|
console.log("Updating homeserver-configured integration managers...");
|
||||||
const homeserverDomain = MatrixClientPeg.getHomeserverName();
|
const homeserverDomain = MatrixClientPeg.getHomeserverName();
|
||||||
|
|
Loading…
Reference in a new issue