diff --git a/index.js b/index.js index 647d7f0..449c140 100644 --- a/index.js +++ b/index.js @@ -503,7 +503,7 @@ xmpp.on("stanza", (stanza) => { const diff = (now - product_id.timestamp) / 1000 / 60; if (diff > 3) return; // if (config.debug >= 1) console.log(`${colors.magenta("[DEBUG]")} New message from ${fromChannel}`); - console.log(`${colors.cyan("[INFO]")} ${getWFOByRoom(fromChannel).location} - ${product_id_raw} - ${evt.text} - ${product_id.timestamp}`); + console.log(`${colors.cyan("[INFO]")} ${fromChannel} ${getWFOByRoom(fromChannel).location} - ${product_id_raw} - ${evt.text} - ${product_id.timestamp}`); messages++; textTries = 0; tryGetText = () => {