Not setting resource field seems to help with reducing replaced by new connection messages. The XMPP server should deal with this better

This commit is contained in:
Jakub Filo 2023-04-30 16:51:28 +00:00
parent 3b3b692b55
commit 9e4448f209

View File

@ -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,
});