mediaurl: fix is_img returning true for videos
This makes the image preloader try to download videos... not good.
This commit is contained in:
@@ -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