mirror of
https://github.com/fiatjaf/nak.git
synced 2024-12-22 10:05:52 -05:00
fix fetch naddr missing kind.
This commit is contained in:
parent
e0c967efa9
commit
8a934cc76b
1
fetch.go
1
fetch.go
|
@ -73,6 +73,7 @@ var fetch = &cli.Command{
|
|||
filter.IDs = append(filter.IDs, value.(string))
|
||||
case "naddr":
|
||||
v := value.(nostr.EntityPointer)
|
||||
filter.Kinds = []int{v.Kind}
|
||||
filter.Tags = nostr.TagMap{"d": []string{v.Identifier}}
|
||||
filter.Authors = append(filter.Authors, v.PublicKey)
|
||||
authorHint = v.PublicKey
|
||||
|
|
Loading…
Reference in New Issue
Block a user