From 6db82f0dc2bdfd001aaa217408ba2c4bbf8dd62b Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Thu, 1 Mar 2018 01:14:30 +0100 Subject: [PATCH] Use the same message I don't when repeating any query --- src/danog/MadelineProto/MTProtoTools/CallHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/danog/MadelineProto/MTProtoTools/CallHandler.php b/src/danog/MadelineProto/MTProtoTools/CallHandler.php index f7fe6d7d5..2b8ed14f1 100644 --- a/src/danog/MadelineProto/MTProtoTools/CallHandler.php +++ b/src/danog/MadelineProto/MTProtoTools/CallHandler.php @@ -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']);