From cceab5c56b8efcd08ffb53e30011d21a0b7ba48c Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Thu, 13 Jul 2017 23:54:33 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/danog/MadelineProto/VoIP/AuthKeyHandler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/danog/MadelineProto/VoIP/AuthKeyHandler.php b/src/danog/MadelineProto/VoIP/AuthKeyHandler.php index 82e4fb4f..692755cc 100644 --- a/src/danog/MadelineProto/VoIP/AuthKeyHandler.php +++ b/src/danog/MadelineProto/VoIP/AuthKeyHandler.php @@ -46,7 +46,7 @@ trait AuthKeyHandler public function accept_call($params) { -/* + /* if ($this->settings['calls']['accept_calls'] === false) { return false; } @@ -118,7 +118,7 @@ trait AuthKeyHandler $key['fingerprint'] = substr(sha1($key['auth_key'], true), -8); //var_dump($params['key_fingerprint'], $key['fingerprint']); if ($key['fingerprint'] != $params['key_fingerprint']) { -// throw new \danog\MadelineProto\SecurityException('Invalid key fingerprint!'); + // throw new \danog\MadelineProto\SecurityException('Invalid key fingerprint!'); } $key['visualization'] = ''; $length = new \phpseclib\Math\BigInteger(count(self::EMOJIS));