From 8a934cc76bb36165b7d7e87cf27d425af5a1c203 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Wed, 28 Aug 2024 16:13:19 -0300 Subject: [PATCH] fix fetch naddr missing kind. --- fetch.go | 1 + 1 file changed, 1 insertion(+) diff --git a/fetch.go b/fetch.go index 4343106..380b93e 100644 --- a/fetch.go +++ b/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