Merge pull request #1753 from thelounge/xpaw/webp

Detect image/webp as an image
This commit is contained in:
Jérémie Astori 2017-11-27 12:55:27 -05:00 committed by GitHub
commit 39e99fcd29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -96,6 +96,7 @@ function parse(msg, preview, res, client) {
case "image/gif":
case "image/jpg":
case "image/jpeg":
case "image/webp":
if (res.size > (Helper.config.prefetchMaxImageSize * 1024)) {
return;
}