Another bugfix
This commit is contained in:
parent
2672728fe3
commit
5fa5a14139
@ -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'];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user