mirror of
https://github.com/aljazceru/khatru.git
synced 2025-12-17 05:24:22 +01:00
initialScan()
This commit is contained in:
@@ -73,6 +73,7 @@ func (em *expirationManager) initialScan(ctx context.Context) {
|
|||||||
defer em.mu.Unlock()
|
defer em.mu.Unlock()
|
||||||
|
|
||||||
// query all events
|
// query all events
|
||||||
|
ctx = context.WithValue(ctx, internalCallKey, struct{}{})
|
||||||
for _, query := range em.relay.QueryEvents {
|
for _, query := range em.relay.QueryEvents {
|
||||||
ch, err := query(ctx, nostr.Filter{})
|
ch, err := query(ctx, nostr.Filter{})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user