Re-apply document thumb only for stickers.
This commit is contained in:
parent
6d706fd222
commit
6e0d62bb65
|
@ -2055,8 +2055,9 @@ void Session::documentApplyFields(
|
|||
document->setMimeString(mime);
|
||||
if (!thumb->isNull()
|
||||
&& (document->thumb->isNull()
|
||||
|| document->thumb->width() < thumb->width()
|
||||
|| document->thumb->height() < thumb->height())) {
|
||||
|| (document->sticker()
|
||||
&& (document->thumb->width() < thumb->width()
|
||||
|| document->thumb->height() < thumb->height())))) {
|
||||
document->thumb = thumb;
|
||||
}
|
||||
document->size = size;
|
||||
|
|
Loading…
Reference in New Issue