Working branch go brr
This commit is contained in:
parent
563b649196
commit
b8fecd731c
2
index.js
2
index.js
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue