Show non-image link inline
Changelog-Changed: Show non-image links inline
This commit is contained in:
1 parent
0d2ab6aff3
commit
b42f0ec5eb
1 file changed
+2
-2
@@ -41,11 +41,11 @@ func render_note_content(ev: NostrEvent, profiles: Profiles, privkey: String?) -
|
||||
if is_image_url(url) {
|
||||
// Append Image
|
||||
img_urls.append(url)
|
||||
return str
|
||||
} else {
|
||||
link_urls.append(url)
|
||||
return str + url.absoluteString
|
||||
}
|
||||
|
||||
return str
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user