damus

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

commit de84456a5759dad9d2dc346238d6a68aabfff033
parent b70bf1f647e9ba51c2598f19fb0fd7601669b0e6
Author: William Casarin <jb55@jb55.com>
Date:   Sun, 25 Jun 2023 06:24:36 +0200

mediaurl: fix is_img returning true for videos

This makes the image preloader try to download videos... not good.

Diffstat:
Mdamus/Views/NoteContentView.swift | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/damus/Views/NoteContentView.swift b/damus/Views/NoteContentView.swift @@ -425,7 +425,7 @@ enum UrlType { case .image(let url): return url case .video: - return url + return nil } case .link: return nil