From 6724e1123d6bbe10294fa7a0d7abf8263a1a809e Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Thu, 6 Jul 2023 10:50:31 -0300 Subject: [PATCH] fetch profiles from profiles relay list. --- nostr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nostr.go b/nostr.go index abf217d..c381567 100644 --- a/nostr.go +++ b/nostr.go @@ -110,7 +110,7 @@ func getLastNotes(ctx context.Context, pubkey string) ([]nostr.Event, error) { } ctx, cancel := context.WithTimeout(ctx, time.Second*4) defer cancel() - events := pool.SubManyEose(ctx, always, filter) + events := pool.SubManyEose(ctx, profiles, filter) for event := range events { lastNotes = append(lastNotes, *event) }