Fix console log message in index.js
This commit is contained in:
parent
4072116aa5
commit
83b210783a
2
index.js
2
index.js
|
@ -455,7 +455,7 @@ xmpp.on("online", async (address) => {
|
||||||
var curUUID = generateUUID();
|
var curUUID = generateUUID();
|
||||||
// Join all channels
|
// Join all channels
|
||||||
iem.channels.forEach((channel => {
|
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.jid.split("@")[0]}` }));
|
||||||
xmpp.send(xml("presence", { to: `${channel.jid}/${channel.name}/${curUUID}` }, xml("item", { role: "visitor" })));
|
xmpp.send(xml("presence", { to: `${channel.jid}/${channel.name}/${curUUID}` }, xml("item", { role: "visitor" })));
|
||||||
}))
|
}))
|
||||||
|
|
Loading…
Reference in a new issue