fetch profiles from profiles relay list.

This commit is contained in:
fiatjaf
2023-07-06 10:50:31 -03:00
parent 3b46b8de76
commit 6724e1123d

View File

@@ -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)
}