From b8fecd731c46f7a409351cb9aa26484a396b1f74 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Mon, 23 Jun 2025 17:36:33 -0600 Subject: [PATCH] Working branch go brr --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 647d7f0..26d42e5 100644 --- a/index.js +++ b/index.js @@ -445,7 +445,7 @@ xmpp.on("stanza", (stanza) => { // Stops spam from getting old messages if (startup) return; // Get channel name - fromChannel = stanza.attrs.from.split("@")[0]; + const fromChannel = stanza.attrs.from.split("@")[0]; // Ignores if (!stanza.getChild("x")) return; // No PID, ignore it if (!stanza.getChild("x").attrs.product_id) return;