mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-23 05:51:14 +01:00
Fix
This commit is contained in:
parent
1c6c1ac782
commit
1f21deb5b1
2
docs
2
docs
@ -1 +1 @@
|
||||
Subproject commit 51cb5ad3fc8e6d4dd3a5ee8fdee4a6eb5939ea8f
|
||||
Subproject commit 326dc6dee0cc0303db36c4bd5e74a241f8f9ad57
|
@ -109,7 +109,7 @@ trait CallHandler
|
||||
{
|
||||
$cancellation = $args['cancellation'] ?? null;
|
||||
$cancellation?->throwIfRequested();
|
||||
if (isset($args['id']['_']) && isset($args['id']['dc_id']) && ($args['id']['_'] === 'inputBotInlineMessageID' || $args['id']['_'] === 'inputBotInlineMessageID64') && $this->datacenter != $args['id']['dc_id']) {
|
||||
if (isset($args['id']) && is_array($args['id']) && isset($args['id']['_']) && isset($args['id']['dc_id']) && ($args['id']['_'] === 'inputBotInlineMessageID' || $args['id']['_'] === 'inputBotInlineMessageID64') && $this->datacenter != $args['id']['dc_id']) {
|
||||
return $this->API->methodCallAsyncWrite($method, $args, $args['id']['dc_id']);
|
||||
}
|
||||
$file = \in_array($method, ['upload.saveFilePart', 'upload.saveBigFilePart', 'upload.getFile', 'upload.getCdnFile'], true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user