This commit is contained in:
Christopher Cookman 2025-06-23 17:41:55 -06:00
parent 41ec69ab94
commit 0e64a9f0c8

View file

@ -445,7 +445,7 @@ xmpp.on("stanza", (stanza) => {
// Stops spam from getting old messages // Stops spam from getting old messages
if (startup) return; if (startup) return;
// Get channel name // Get channel name
fromChannel = stanza.attrs.from.split("@")[0]; const fromChannel = stanza.attrs.from.split("@")[0];
// Ignores // Ignores
if (!stanza.getChild("x")) return; // No PID, ignore it if (!stanza.getChild("x")) return; // No PID, ignore it
if (!stanza.getChild("x").attrs.product_id) return; if (!stanza.getChild("x").attrs.product_id) return;