diff --git a/index.js b/index.js index 555d204..bbce650 100644 --- a/index.js +++ b/index.js @@ -90,6 +90,7 @@ xmpp.on("offline", () => { xmpp.on("stanza", (stanza) => { + if(config.debug) console.log(stanza.toString()); // Stops spam from getting old messages if (startup) return; // Get new messages and log them, ignore old messages