From 832aff00dae1d33b77a39395b4834af0039d6344 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Sat, 28 Mar 2020 17:10:35 +0100 Subject: [PATCH] Properly set call layer --- src/danog/MadelineProto/VoIP/AuthKeyHandler.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/danog/MadelineProto/VoIP/AuthKeyHandler.php b/src/danog/MadelineProto/VoIP/AuthKeyHandler.php index b0276807..a63e2352 100644 --- a/src/danog/MadelineProto/VoIP/AuthKeyHandler.php +++ b/src/danog/MadelineProto/VoIP/AuthKeyHandler.php @@ -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) {