Show non-image link inline

Changelog-Changed: Show non-image links inline
This commit is contained in:
William Casarin
2023-01-02 13:39:06 -08:00
parent 0d2ab6aff3
commit b42f0ec5eb

View File

@@ -41,11 +41,11 @@ func render_note_content(ev: NostrEvent, profiles: Profiles, privkey: String?) -
if is_image_url(url) { if is_image_url(url) {
// Append Image // Append Image
img_urls.append(url) img_urls.append(url)
return str
} else { } else {
link_urls.append(url) link_urls.append(url)
return str + url.absoluteString
} }
return str
} }
} }