after getting an EOSE we should stop checking since/until.

This commit is contained in:
fiatjaf
2024-09-06 19:37:34 -03:00
parent cd145f4fcb
commit f57d93ac78
3 changed files with 28 additions and 8 deletions
+1
View File
@@ -397,6 +397,7 @@ func (r *Relay) PrepareSubscription(ctx context.Context, filters Filters, opts .
EndOfStoredEvents: make(chan struct{}, 1),
ClosedReason: make(chan string, 1),
Filters: filters,
match: filters.Match,
}
for _, opt := range opts {