This commit is contained in:
parent
1a7c1735f4
commit
1ae72ac979
2
index.js
2
index.js
|
@ -378,7 +378,7 @@ xmpp.on("stanza", (stanza) => {
|
||||||
const diff = (now - product_id.timestamp) / 1000 / 60;
|
const diff = (now - product_id.timestamp) / 1000 / 60;
|
||||||
if (diff > 3) return;
|
if (diff > 3) return;
|
||||||
// if (config.debug >= 1) console.log(`${colors.magenta("[DEBUG]")} New message from ${fromChannel}`);
|
// if (config.debug >= 1) console.log(`${colors.magenta("[DEBUG]")} New message from ${fromChannel}`);
|
||||||
console.log(`${colors.cyan("[INFO]")} ${wfo.location || fromChannel} issues ${evt.text}`)
|
console.log(`${colors.cyan("[INFO]")} ${getWFOByRoom(fromChannel).location} - ${evt.name} - ${product_id.timestamp}`);
|
||||||
messages++;
|
messages++;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue