mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-26 19:24:42 +01:00
Fix IPC upload of stream thumbnails
This commit is contained in:
parent
ae2e4a1692
commit
e1e2c3ddc2
@ -298,6 +298,9 @@ trait FilesLogic
|
||||
if ($upload && isset($media['file']) && !\is_array($media['file'])) {
|
||||
$media['file'] = $this->upload($media['file'], cancellation: $cancellation);
|
||||
}
|
||||
if ($upload && isset($media['thumb']) && !\is_array($media['thumb'])) {
|
||||
$media['thumb'] = $this->upload($media['thumb'], cancellation: $cancellation);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Upload file.
|
||||
|
Loading…
Reference in New Issue
Block a user