Apply fixes from StyleCI
This commit is contained in:
parent
72b30bedfe
commit
6bd76f05c0
@ -158,7 +158,9 @@ trait UpdateHandler
|
|||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$peer_id = $this->get_info($message['to_id'])['bot_api_id'];
|
$peer_id = $this->get_info($message['to_id'])['bot_api_id'];
|
||||||
} catch (\danog\MadelineProto\Exception $e) { return true; }
|
} catch (\danog\MadelineProto\Exception $e) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
$message_id = $message['id'];
|
$message_id = $message['id'];
|
||||||
|
|
||||||
if (!isset($this->msg_ids[$peer_id]) || $message_id > $this->msg_ids[$peer_id]) {
|
if (!isset($this->msg_ids[$peer_id]) || $message_id > $this->msg_ids[$peer_id]) {
|
||||||
|
Loading…
Reference in New Issue
Block a user