Another bugfix

This commit is contained in:
Daniil Gentili 2019-06-23 12:35:30 +02:00
parent 2672728fe3
commit 5fa5a14139

View File

@ -410,12 +410,10 @@ trait Files
return $res;
case 'photoSize':
$size = $res['size'];
$res = yield $this->get_download_info_async($message_media['location']);
$res['thumb_size'] = $message_media['type'];
//$res['thumb_size'] = $size;
if (isset($message_media['size'])) {
$res['size'] = $message_media['size'];
}