add nostter and nosotros, remove agora.

This commit is contained in:
fiatjaf
2023-10-10 11:30:18 -03:00
parent 121faa0798
commit ada25605f9

View File

@@ -125,12 +125,11 @@ func generateClientList(code string, event *nostr.Event) []ClientReference {
{Name: "Snort", URL: "https://Snort.social/e/" + code}, {Name: "Snort", URL: "https://Snort.social/e/" + code},
{Name: "Coracle", URL: "https://coracle.social/" + code}, {Name: "Coracle", URL: "https://coracle.social/" + code},
{Name: "Satellite", URL: "https://satellite.earth/thread/" + event.ID}, {Name: "Satellite", URL: "https://satellite.earth/thread/" + event.ID},
{Name: "Agora", URL: "https://agorasocial.app/" + event.ID}, {Name: "Primal", URL: "https://primal.net/thread/" + event.ID},
{Name: "Nostter", URL: "https://nostter.vercel.app/" + code},
{Name: "Highlighter", URL: "https://highlighter.com/a/" + 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},
} }
} else if event.Kind == 0 { } else if event.Kind == 0 {
return []ClientReference{ return []ClientReference{
@@ -139,12 +138,12 @@ func generateClientList(code string, event *nostr.Event) []ClientReference {
{Name: "Snort", URL: "https://snort.social/p/" + code}, {Name: "Snort", URL: "https://snort.social/p/" + code},
{Name: "Coracle", URL: "https://coracle.social/" + code}, {Name: "Coracle", URL: "https://coracle.social/" + code},
{Name: "Satellite", URL: "https://satellite.earth/@" + code}, {Name: "Satellite", URL: "https://satellite.earth/@" + code},
{Name: "Agora", URL: "https://agorasocial.app/people/" + event.PubKey}, {Name: "Primal", URL: "https://primal.net/profile/" + event.PubKey},
{Name: "Nostter", URL: "https://nostter.vercel.app/" + code},
{Name: "Highlighter", URL: "https://highlighter.com/p/" + event.PubKey},
{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: "Nosotros", URL: "https://nosotros.app/" + code},
{Name: "Nostr.band", URL: "https://nostr.band/" + code},
{Name: "Highlighter", URL: "https://highlighter.com/p/" + event.PubKey},
} }
} else if event.Kind == 30023 || event.Kind == 30024 { } else if event.Kind == 30023 || event.Kind == 30024 {
return []ClientReference{ return []ClientReference{