Fix nickname config

This commit is contained in:
Râu Cao 2023-11-02 14:33:27 +01:00
parent 67d2bd55fd
commit d34c8ff0cd
Signed by: raucao
GPG Key ID: 15E65F399D084BA9

View File

@ -137,7 +137,7 @@ xmpp.on("online", async (address) => {
console.log("Connected to XMPP server"); console.log("Connected to XMPP server");
for (const jid of config.xmpp.rooms) { 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); await xmpp.send(msg);
} }