mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 02:05:45 +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() {
|
||||
if (!MatrixClientPeg.get()) return;
|
||||
try {
|
||||
console.log("Updating homeserver-configured integration managers...");
|
||||
const homeserverDomain = MatrixClientPeg.getHomeserverName();
|
||||
|
|
Loading…
Reference in a new issue