Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2017-07-13 23:54:33 +00:00 committed by StyleCI Bot
parent 71986cf536
commit cceab5c56b

View File

@ -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));