Fix nickname config
This commit is contained in:
parent
67d2bd55fd
commit
d34c8ff0cd
2
index.js
2
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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user