From d34c8ff0cd901b242fa3ae8b3f32b588b1f2fff3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Thu, 2 Nov 2023 14:33:27 +0100 Subject: [PATCH] Fix nickname config --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index c25f1dc..a3ee703 100644 --- a/index.js +++ b/index.js @@ -137,7 +137,7 @@ xmpp.on("online", async (address) => { console.log("Connected to XMPP server"); for (const jid of config.xmpp.rooms) { - const msg = xml("presence", { to: `${jid}/${config.nick}` }); + const msg = xml("presence", { to: `${jid}/${config.xmpp.nick}` }); await xmpp.send(msg); }