diff --git a/bouncer.js b/bouncer.js index 3f3d7e0..ec25a9f 100644 --- a/bouncer.js +++ b/bouncer.js @@ -287,7 +287,7 @@ function newConn(addr, id, reconn_t = 0) { // If it's at the limit, Send EOSE to client and delete pendingEOSE of subID // Skip if EOSE has been omitted - if (!client.pendingEOSE.has(data[1])) return; + if (!client.pendingEOSE.has(data[1]) || client.pause_subs.has(data[1])) return; const limit = getFilterLimit(filter); if (limit === Infinity) return; if (client.events.get(data[1]).size >= limit) {