From b173c40f14483faca1902510f37e8daf2507eecc Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Fri, 7 Jun 2024 08:11:35 -0300 Subject: [PATCH] nip34: read all maintainers instead of just the first. --- nip34/repository.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nip34/repository.go b/nip34/repository.go index ebd645c..9ff4b48 100644 --- a/nip34/repository.go +++ b/nip34/repository.go @@ -45,7 +45,7 @@ func ParseRepository(event nostr.Event) Repository { case "r": repo.EarliestUniqueCommitID = tag[1] case "maintainers": - repo.Maintainers = append(repo.Maintainers, tag[1]) + repo.Maintainers = append(repo.Maintainers, tag[1:]...) } }