damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit b42f0ec5eb864749d204e1222339d896b5ff9c5d
parent 0d2ab6aff39ef53e4888d77d19f13b6ebd00c0e5
Author: William Casarin <jb55@jb55.com>
Date:   Mon,  2 Jan 2023 13:39:06 -0800

Show non-image link inline

Changelog-Changed: Show non-image links inline

Diffstat:
Mdamus/Views/NoteContentView.swift | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/damus/Views/NoteContentView.swift b/damus/Views/NoteContentView.swift @@ -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 } }