Fix console log message in index.js

This commit is contained in:
Christopher Cookman 2024-05-12 01:48:45 -06:00
parent 4072116aa5
commit 83b210783a
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

@ -455,7 +455,7 @@ xmpp.on("online", async (address) => {
var curUUID = generateUUID();
// Join all channels
iem.channels.forEach((channel => {
console.log(`${colors.cyan("[INFO]")} Joining ${channel.jid.split("@")[0]}:${channel.name}`)
console.log(`${colors.cyan("[INFO]")} Joining ${channel.jid}/${channel.name}/${curUUID}`)
//xmpp.send(xml("presence", { to: `${channel.jid}/${channel.jid.split("@")[0]}` }));
xmpp.send(xml("presence", { to: `${channel.jid}/${channel.name}/${curUUID}` }, xml("item", { role: "visitor" })));
}))