mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 10:19:00 +01:00
Bugfix
This commit is contained in:
parent
d787cef5de
commit
3f53a3749e
@ -576,7 +576,7 @@ trait TL
|
||||
if ($x['_'] === 'rpc_result' && $arg['name'] === 'result' && isset($this->datacenter->sockets[$type['datacenter']]->new_outgoing[$x['req_msg_id']]['type']) && stripos($this->datacenter->sockets[$type['datacenter']]->new_outgoing[$x['req_msg_id']]['type'], '<') !== false) {
|
||||
$arg['subtype'] = preg_replace(['|Vector[<]|', '|[>]|'], '', $this->datacenter->sockets[$type['datacenter']]->new_outgoing[$x['req_msg_id']]['type']);
|
||||
}
|
||||
$arg['datacenter'] = $type['datacenter'];
|
||||
if (isset($type['datacenter'])) $arg['datacenter'] = $type['datacenter'];
|
||||
$x[$arg['name']] = $this->deserialize($bytes_io, $arg);
|
||||
if ($arg['name'] === 'random_bytes') {
|
||||
if (strlen($x[$arg['name']]) < 15) {
|
||||
|
Loading…
Reference in New Issue
Block a user