mirror of
https://github.com/aljazceru/njump.git
synced 2025-12-17 14:24:27 +01:00
Add kind 30023 to clients match
This commit is contained in:
2
utils.go
2
utils.go
@@ -129,7 +129,7 @@ func generateClientList(code string, event *nostr.Event) []ClientReference {
|
|||||||
{Name: "Nostr.band", URL: "https://nostr.band/" + code},
|
{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 event.Kind == 30023 {
|
} else if event.Kind == 30023 || event.Kind == 30024 {
|
||||||
return []ClientReference{
|
return []ClientReference{
|
||||||
{Name: "Your native client", URL: "nostr:" + code},
|
{Name: "Your native client", URL: "nostr:" + code},
|
||||||
{Name: "YakiHonne", URL: "https://yakihonne.com/article/" + code},
|
{Name: "YakiHonne", URL: "https://yakihonne.com/article/" + code},
|
||||||
|
|||||||
Reference in New Issue
Block a user