mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-11-19 02:26:34 +01:00
stop halting at EOSE.
This commit is contained in:
2
relay.go
2
relay.go
@@ -220,7 +220,7 @@ func (r *Relay) subscribe(id string, filters Filters) *Subscription {
|
|||||||
conn: r.Connection,
|
conn: r.Connection,
|
||||||
id: id,
|
id: id,
|
||||||
Events: make(chan Event),
|
Events: make(chan Event),
|
||||||
EndOfStoredEvents: make(chan struct{}),
|
EndOfStoredEvents: make(chan struct{}, 1),
|
||||||
}
|
}
|
||||||
|
|
||||||
r.subscriptions.Store(sub.id, &sub)
|
r.subscriptions.Store(sub.id, &sub)
|
||||||
|
|||||||
Reference in New Issue
Block a user