mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Start using document bytes from DocumentMedia.
This commit is contained in:
@@ -836,7 +836,7 @@ void FileLoadTask::process() {
|
||||
&& (h > 0)
|
||||
&& (w <= StickerMaxSize)
|
||||
&& (h <= StickerMaxSize)
|
||||
&& (filesize < Storage::kMaxStickerInMemory);
|
||||
&& (filesize < Storage::kMaxStickerBytesSize);
|
||||
if (isSticker) {
|
||||
attributes.push_back(MTP_documentAttributeSticker(
|
||||
MTP_flags(0),
|
||||
|
Reference in New Issue
Block a user