Update file size limit for WEBM sticker set thumbnails.

This commit is contained in:
levlam 2022-01-26 10:20:39 +03:00
parent d908117489
commit 893b9c4b6f

View File

@ -115,7 +115,7 @@ int64 get_max_sticker_file_size(StickerFormat sticker_format, bool for_thumbnail
case StickerFormat::Tgs:
return for_thumbnail ? (1 << 15) : (1 << 16);
case StickerFormat::Webm:
return for_thumbnail ? (1 << 17) : (1 << 18);
return for_thumbnail ? (1 << 15) : (1 << 18);
default:
UNREACHABLE();
return 0;