Update pool.js

This commit is contained in:
monlovesmango
2022-06-22 15:18:49 -05:00
committed by fiatjaf
parent ed52d2a8d4
commit 536dbcbffe

View File

@@ -58,7 +58,7 @@ export function relayPool() {
return activeSubscriptions[id]
}
const addRelay = relay => {
subControllers[relay.url] = relay.sub({cb: event => cb(event, relay.url), filter}, id)
subControllers[relay.url] = relay.sub({ cb: event => cb(event, relay.url), filter, beforeSend }, id)
return activeSubscriptions[id]
}
const removeRelay = relayURL => {