Your => your native client

This commit is contained in:
fiatjaf
2023-10-30 20:08:15 -03:00
parent 68e3722bbd
commit f3997b78ae

View File

@@ -126,7 +126,7 @@ type ClientReference struct {
func generateClientList(style Style, code string, event *nostr.Event) []ClientReference {
if event.Kind == 1 || event.Kind == 6 {
return []ClientReference{
{ID: "native", Name: "Your native client", URL: template.URL("nostr:" + code)},
{ID: "native", Name: "your native client", URL: template.URL("nostr:" + code)},
{ID: "snort", Name: "Snort", URL: template.URL("https://Snort.social/e/" + code)},
{ID: "nostrudel", Name: "Nostrudel", URL: template.URL("https://nostrudel.ninja/#/n/" + code)},
{ID: "satellite", Name: "Satellite", URL: template.URL("https://satellite.earth/thread/" + event.ID)},
@@ -138,7 +138,7 @@ func generateClientList(style Style, code string, event *nostr.Event) []ClientRe
}
} else if event.Kind == 0 {
return []ClientReference{
{ID: "native", Name: "Your native client", URL: template.URL("nostr:" + code)},
{ID: "native", Name: "your native client", URL: template.URL("nostr:" + code)},
{ID: "nosta", Name: "Nosta", URL: template.URL("https://nosta.me/" + code)},
{ID: "snort", Name: "Snort", URL: template.URL("https://snort.social/p/" + code)},
{ID: "satellite", Name: "Satellite", URL: template.URL("https://satellite.earth/@" + code)},
@@ -150,7 +150,7 @@ func generateClientList(style Style, code string, event *nostr.Event) []ClientRe
}
} else if event.Kind == 30023 || event.Kind == 30024 {
return []ClientReference{
{ID: "native", Name: "Your native client", URL: template.URL("nostr:" + code)},
{ID: "native", Name: "your native client", URL: template.URL("nostr:" + code)},
{ID: "yakihonne", Name: "YakiHonne", URL: template.URL("https://yakihonne.com/article/" + code)},
{ID: "habla", Name: "Habla", URL: template.URL("https://habla.news/a/" + code)},
{ID: "highlighter", Name: "Highlighter", URL: template.URL("https://highlighter.com/a/" + code)},
@@ -158,7 +158,7 @@ func generateClientList(style Style, code string, event *nostr.Event) []ClientRe
}
} else if event.Kind == 1063 {
return []ClientReference{
{ID: "native", Name: "Your native client", URL: template.URL("nostr:" + code)},
{ID: "native", Name: "your native client", URL: template.URL("nostr:" + code)},
{ID: "snort", Name: "Snort", URL: template.URL("https://snort.social/p/" + code)},
{ID: "coracle", Name: "Coracle", URL: template.URL("https://coracle.social/" + code)},
}