diff --git a/khatru/blossom/eventstorewrapper.go b/khatru/blossom/eventstorewrapper.go index c272407..26967f8 100644 --- a/khatru/blossom/eventstorewrapper.go +++ b/khatru/blossom/eventstorewrapper.go @@ -52,7 +52,9 @@ func (es EventStoreBlobIndexWrapper) List(ctx context.Context, pubkey nostr.PubK Authors: []nostr.PubKey{pubkey}, Kinds: []nostr.Kind{24242}, }, 1000) { - yield(es.parseEvent(evt)) + if !yield(es.parseEvent(evt)) { + return + } } } }