mediaurl: fix is_img returning true for videos
This makes the image preloader try to download videos... not good.
This commit is contained in:
1 parent
b70bf1f647
commit
de84456a57
1 file changed
+1
-1
@@ -425,7 +425,7 @@ enum UrlType {
|
||||
case .image(let url):
|
||||
return url
|
||||
case .video:
|
||||
return url
|
||||
return nil
|
||||
}
|
||||
case .link:
|
||||
return nil
|
||||
|
||||
Reference in new issue
Block a user