mirror of
https://github.com/aljazceru/njump.git
synced 2025-12-17 06:14:22 +01:00
Add basic support for NIP-94 - File Metadata
This commit is contained in:
6
utils.go
6
utils.go
@@ -156,6 +156,12 @@ func generateClientList(code string, event *nostr.Event) []ClientReference {
|
||||
{ID: "highlighter", Name: "Highlighter", URL: template.URL("https://highlighter.com/a/" + code)},
|
||||
{ID: "blogstack", Name: "Blogstack", URL: template.URL("https://blogstack.io/" + code)},
|
||||
}
|
||||
} else if event.Kind == 1063 {
|
||||
return []ClientReference{
|
||||
{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)},
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user