Revert "remove primal."

This reverts commit 4cd8c79464.
This commit is contained in:
fiatjaf
2023-06-14 19:45:59 -03:00
parent 785428be01
commit 6c3f7ecf5c

View File

@@ -107,6 +107,8 @@ func generateClientList(code string, event *nostr.Event) []ClientReference {
{Name: "Agora", URL: "https://agorasocial.app/" + code}, {Name: "Agora", URL: "https://agorasocial.app/" + code},
{Name: "Iris", URL: "https://iris.to/" + code}, {Name: "Iris", URL: "https://iris.to/" + code},
{Name: "Yosup", URL: "https://yosup.app/thread/" + event.ID}, {Name: "Yosup", URL: "https://yosup.app/thread/" + event.ID},
{Name: "Primal", URL: "https://primal.net/thread/" + event.ID},
{Name: "Nostr.band", URL: "https://nostr.band/" + code},
{Name: "Highlighter", URL: "https://highlighter.com/a/" + code}, {Name: "Highlighter", URL: "https://highlighter.com/a/" + code},
} }
} else if strings.HasPrefix(code, "npub") || strings.HasPrefix(code, "nprofile") { } else if strings.HasPrefix(code, "npub") || strings.HasPrefix(code, "nprofile") {
@@ -119,6 +121,8 @@ func generateClientList(code string, event *nostr.Event) []ClientReference {
{Name: "Agora", URL: "https://agorasocial.app/" + code}, {Name: "Agora", URL: "https://agorasocial.app/" + code},
{Name: "Iris", URL: "https://iris.to/" + code}, {Name: "Iris", URL: "https://iris.to/" + code},
{Name: "Yosup", URL: "https://yosup.app/profile/" + event.PubKey}, {Name: "Yosup", URL: "https://yosup.app/profile/" + event.PubKey},
{Name: "Primal", URL: "https://primal.net/profile/" + event.PubKey},
{Name: "Nostr.band", URL: "https://nostr.band/" + code},
{Name: "Highlighter", URL: "https://highlighter.com/p/" + event.PubKey}, {Name: "Highlighter", URL: "https://highlighter.com/p/" + event.PubKey},
} }
} else if strings.HasPrefix(code, "naddr") { } else if strings.HasPrefix(code, "naddr") {