mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 09:58:59 +01:00
Use the same message I don't when repeating any query
This commit is contained in:
parent
3fc6fe922e
commit
6db82f0dc2
@ -104,8 +104,8 @@ trait CallHandler
|
||||
$this->send_messages($aargs['datacenter']);
|
||||
} else {
|
||||
$this->send_unencrypted_message($serialized, $message_id = isset($aargs['message_id']) ? $aargs['message_id'] : $this->generate_message_id($aargs['datacenter']), $aargs['datacenter']);
|
||||
$aargs['message_id'] = $message_id;
|
||||
}
|
||||
$aargs['message_id'] = $message_id;
|
||||
if ($this->is_http($aargs['datacenter']) && isset($aargs['reopen'])) {
|
||||
\danog\MadelineProto\Logger::log(['Closing and reopening connection...'], \danog\MadelineProto\Logger::WARNING);
|
||||
$this->close_and_reopen($aargs['datacenter']);
|
||||
|
Loading…
Reference in New Issue
Block a user