mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 10:34:38 +01:00
Fixup
This commit is contained in:
parent
e60c58615f
commit
dc56b08771
@ -110,7 +110,7 @@ trait FileServer
|
||||
$messageMedia['mime'] ??= $mime;
|
||||
$messageMedia['name'] ??= $name;
|
||||
|
||||
$f = is_string($f) ? $f : $this->extractBotAPIFile($this->MTProtoToBotAPI($media))['file_id'];
|
||||
$f = is_string($media) ? $media : ($this->extractBotAPIFile($this->MTProtoToBotAPI($media))['file_id']);
|
||||
[
|
||||
'name' => $name,
|
||||
'ext' => $ext,
|
||||
|
Loading…
Reference in New Issue
Block a user