mirror of
https://github.com/aljazceru/njump.git
synced 2026-02-20 13:34:29 +01:00
fetch profiles from profiles relay list.
This commit is contained in:
2
nostr.go
2
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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user