diff --git a/src/danog/MadelineProto/VoIP/AuthKeyHandler.php b/src/danog/MadelineProto/VoIP/AuthKeyHandler.php index 793545e8..8a896192 100644 --- a/src/danog/MadelineProto/VoIP/AuthKeyHandler.php +++ b/src/danog/MadelineProto/VoIP/AuthKeyHandler.php @@ -83,6 +83,7 @@ trait AuthKeyHandler } catch (\danog\MadelineProto\RPCErrorException $e) { if ($e->rpc === 'CALL_ALREADY_ACCEPTED') { \danog\MadelineProto\Logger::log(['Call '.$call['id'].' already accepted']); + return true; } if ($e->rpc === 'CALL_ALREADY_DECLINED') { @@ -96,6 +97,7 @@ trait AuthKeyHandler $this->handle_pending_updates(); $this->get_updates_difference(); + return true; }