Fix this
context in _setupHomeserverManagers for IntegrationManagers
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
ddb5c7fb24
commit
7453f8dd07
1 changed files with 2 additions and 2 deletions
|
@ -78,7 +78,7 @@ export class IntegrationManagers {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async _setupHomeserverManagers(discoveryResponse) {
|
_setupHomeserverManagers = async (discoveryResponse) => {
|
||||||
console.log("Updating homeserver-configured integration managers...");
|
console.log("Updating homeserver-configured integration managers...");
|
||||||
if (discoveryResponse && discoveryResponse['m.integrations']) {
|
if (discoveryResponse && discoveryResponse['m.integrations']) {
|
||||||
let managers = discoveryResponse['m.integrations']['managers'];
|
let managers = discoveryResponse['m.integrations']['managers'];
|
||||||
|
@ -104,7 +104,7 @@ export class IntegrationManagers {
|
||||||
} else {
|
} else {
|
||||||
console.log("Homeserver has no integration managers");
|
console.log("Homeserver has no integration managers");
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
_setupAccountManagers() {
|
_setupAccountManagers() {
|
||||||
if (!this._client || !this._client.getUserId()) return; // not logged in
|
if (!this._client || !this._client.getUserId()) return; // not logged in
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue