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):
|
case .image(let url):
|
||||||
return url
|
return url
|
||||||
case .video:
|
case .video:
|
||||||
return url
|
return nil
|
||||||
}
|
}
|
||||||
case .link:
|
case .link:
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
Reference in New Issue
Block a user