Remove debugging stuff
This commit is contained in:
parent
de219c5f96
commit
cf188b480a
|
@ -507,7 +507,6 @@ trait AuthKeyHandler
|
||||||
list($aes_key, $aes_iv) = $this->aes_calculate($message_key, $this->datacenter->auth_key['auth_key']);
|
list($aes_key, $aes_iv) = $this->aes_calculate($message_key, $this->datacenter->auth_key['auth_key']);
|
||||||
$encrypted_message = $this->datacenter->auth_key['id'].$message_key.$this->ige_encrypt($encrypted_data.$padding, $aes_key, $aes_iv);
|
$encrypted_message = $this->datacenter->auth_key['id'].$message_key.$this->ige_encrypt($encrypted_data.$padding, $aes_key, $aes_iv);
|
||||||
$res = $this->method_call('auth.bindTempAuthKey', ['perm_auth_key_id' => $perm_auth_key_id, 'nonce' => $nonce, 'expires_at' => $expires_at, 'encrypted_message' => $encrypted_message], $int_message_id);
|
$res = $this->method_call('auth.bindTempAuthKey', ['perm_auth_key_id' => $perm_auth_key_id, 'nonce' => $nonce, 'expires_at' => $expires_at, 'encrypted_message' => $encrypted_message], $int_message_id);
|
||||||
var_dump($res);
|
|
||||||
if ($res === true) {
|
if ($res === true) {
|
||||||
\danog\MadelineProto\Logger::log('Successfully binded temporary and permanent authorization keys.');
|
\danog\MadelineProto\Logger::log('Successfully binded temporary and permanent authorization keys.');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user