Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2017-12-25 16:07:18 +00:00 committed by StyleCI Bot
parent 72b30bedfe
commit 6bd76f05c0

View File

@ -158,7 +158,9 @@ trait UpdateHandler
{
try {
$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'];
if (!isset($this->msg_ids[$peer_id]) || $message_id > $this->msg_ids[$peer_id]) {