mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 07:34:41 +01:00
Apply fixes from StyleCI
This commit is contained in:
parent
71986cf536
commit
cceab5c56b
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user