Properly set call layer

This commit is contained in:
Daniil Gentili 2020-03-28 17:10:35 +01:00
parent 6720ffff79
commit 832aff00da
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7
1 changed files with 1 additions and 0 deletions

View File

@ -187,6 +187,7 @@ trait AuthKeyHandler
}
throw $e;
}
$this->calls[$params['id']]->setCall($res);
$visualization = [];
$length = new \tgseclib\Math\BigInteger(\count(\danog\MadelineProto\Magic::$emojis));
foreach (\str_split(\hash('sha256', $key.\str_pad($this->calls[$params['id']]->storage['g_a'], 256, \chr(0), \STR_PAD_LEFT), true), 8) as $number) {