Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
bouncer: fix multiple EOSE bypassing when using save mode.
Browse files Browse the repository at this point in the history
Signed-off-by: Yonle <[email protected]>
  • Loading branch information
Yonle committed Mar 21, 2024
1 parent 9482078 commit ae3f588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bouncer.js
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ function newConn(addr, id, reconn_t = 0) {
if (!client.subalias.has(data[1])) return;
data[1] = client.subalias.get(data[1]);
const filter = client.mergedFilters.get(data[1]);
if (client.pause_subs.has(data[1]) && (filter.since < data[2].created_at)) return;
if (client.pause_subs.has(data[1]) && (filter.since > data[2].created_at)) return;

if (client.rejectKinds && client.rejectKinds.includes(data[2]?.id)) return;

Expand Down

0 comments on commit ae3f588

Please sign in to comment.