mediaurl: fix is_img returning true for videos

This makes the image preloader try to download videos... not good.
This commit is contained in:
William Casarin
2023-06-25 06:24:36 +02:00
parent b70bf1f647
commit de84456a57

View File

@@ -425,7 +425,7 @@ enum UrlType {
case .image(let url): case .image(let url):
return url return url
case .video: case .video:
return url return nil
} }
case .link: case .link:
return nil return nil