From 9e4448f2091416aae46e88613c1dbee570d00d23 Mon Sep 17 00:00:00 2001 From: Jakub Filo Date: Sun, 30 Apr 2023 16:51:28 +0000 Subject: [PATCH] Not setting resource field seems to help with reducing replaced by new connection messages. The XMPP server should deal with this better --- src/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.ts b/src/client.ts index 88de1ae..2d111b3 100644 --- a/src/client.ts +++ b/src/client.ts @@ -78,7 +78,7 @@ export class Client extends EventEmitter { this.api = client({ service: websocketUrl, domain: this.domain, - resource: "mx_bridge", + //resource: "mx_bridge", username: this.username, password: this.password, });