mirror of
https://github.com/nbd-wtf/nostr-tools.git
synced 2025-12-09 16:48:50 +00:00
Update pool.js
This commit is contained in:
2
pool.js
2
pool.js
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user