Bugfix to update handling
This commit is contained in:
parent
d60fad2ea4
commit
f73b4645af
@ -160,6 +160,8 @@ trait UpdateHandler
|
||||
$peer_id = $this->get_info($message['to_id'])['bot_api_id'];
|
||||
} catch (\danog\MadelineProto\Exception $e) {
|
||||
return true;
|
||||
} catch (\danog\MadelineProto\RPCErrorException $e) {
|
||||
return true;
|
||||
}
|
||||
$message_id = $message['id'];
|
||||
if (!isset($this->msg_ids[$peer_id]) || $message_id > $this->msg_ids[$peer_id]) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user