mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-22 23:11:19 +01:00
bugfix
This commit is contained in:
parent
d8319e39d3
commit
e73b0dc488
@ -950,7 +950,7 @@ class TL
|
||||
/** @var OutgoingMessage */
|
||||
$message = $type['connection']->outgoing_messages[$x['req_msg_id']];
|
||||
foreach ($this->callbacks[TLCallback::METHOD_BEFORE_CALLBACK][$message->getConstructor()] ?? [] as $callback) {
|
||||
$callback($type['connection']->outgoing_messages[$x['req_msg_id']]['_']);
|
||||
$callback($type['connection']->outgoing_messages[$x['req_msg_id']]->getConstructor());
|
||||
}
|
||||
if ($message->getType() && \stripos($message->getType(), '<') !== false) {
|
||||
$arg['subtype'] = \str_replace(['Vector<', '>'], '', $message->getType());
|
||||
|
Loading…
x
Reference in New Issue
Block a user