fix ee listener add

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-06-01 22:57:51 +01:00
parent 3f72a590f5
commit 366c60cb2d

View file

@ -42,7 +42,7 @@ export class Jitsi {
const discoveryResponse = cli && MatrixClientPeg.get().getClientWellKnown(); const discoveryResponse = cli && MatrixClientPeg.get().getClientWellKnown();
if (cli) { if (cli) {
cli.on("WellKnown.client", this.update); cli.on("WellKnown.client", () => this.update);
} }
console.log("Attempting to get Jitsi conference information from homeserver"); console.log("Attempting to get Jitsi conference information from homeserver");