update nostr-sdk to fix relay lists and move things around.

This commit is contained in:
fiatjaf
2024-05-23 23:03:22 -03:00
parent 7a2aadb749
commit 5966234156
6 changed files with 27 additions and 28 deletions

View File

@@ -59,7 +59,7 @@ func renderEmbedded(w http.ResponseWriter, r *http.Request, code string) {
Metadata: data.metadata,
NormalizedAuthorWebsiteURL: normalizeWebsiteURL(data.metadata.Website),
RenderedAuthorAboutText: template.HTML(basicFormatting(html.EscapeString(data.metadata.About), false, false, true)),
AuthorRelays: data.authorRelays,
AuthorRelays: data.authorRelaysPretty,
})
default:
log.Error().Int("templateId", int(data.templateId)).Msg("no way to render")