nip34: read all maintainers instead of just the first.

This commit is contained in:
fiatjaf 2024-06-07 08:11:35 -03:00
parent 00ae611115
commit b173c40f14

View File

@ -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:]...)
}
}