mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-03-17 21:32:56 +01:00
sdk: fix missing preemptive fallback to blank pubkey on FetchProfileMetadata().
This commit is contained in:
parent
85c268b8e2
commit
8d805b39bf
@ -98,6 +98,8 @@ func (sys *System) FetchProfileMetadata(ctx context.Context, pubkey string) (pm
|
||||
return v
|
||||
}
|
||||
|
||||
pm.PubKey = pubkey
|
||||
|
||||
res, _ := sys.StoreRelay.QuerySync(ctx, nostr.Filter{Kinds: []int{0}, Authors: []string{pubkey}})
|
||||
if len(res) != 0 {
|
||||
// ok, we found something locally
|
||||
|
Loading…
x
Reference in New Issue
Block a user