mirror of
https://github.com/nbd-wtf/nostr-tools.git
synced 2025-12-08 16:28:49 +00:00
include eoseCb in sub
This commit is contained in:
2
relay.js
2
relay.js
@@ -164,7 +164,7 @@ export function relayConnect(url, onNotice = () => {}, onError = () => {}) {
|
||||
cb = activeCallback,
|
||||
filter = activeFilters,
|
||||
beforeSend = activeBeforeSend
|
||||
}) => sub({cb, filter, beforeSend, skipVerification}, channel),
|
||||
}) => sub({cb, filter, beforeSend, skipVerification}, channel, eoseCb),
|
||||
unsub: () => {
|
||||
delete openSubs[channel]
|
||||
delete eventListeners[channel]
|
||||
|
||||
Reference in New Issue
Block a user