From 50b85629ab477bb7f2c42cdd276a51a0532f7302 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Wed, 15 May 2019 22:10:53 +0200 Subject: [PATCH] Whoops --- src/danog/MadelineProto/VoIP/AuthKeyHandler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/danog/MadelineProto/VoIP/AuthKeyHandler.php b/src/danog/MadelineProto/VoIP/AuthKeyHandler.php index 3384c76f..b97fe190 100644 --- a/src/danog/MadelineProto/VoIP/AuthKeyHandler.php +++ b/src/danog/MadelineProto/VoIP/AuthKeyHandler.php @@ -36,9 +36,9 @@ trait AuthKeyHandler { return $this->wait($this->accept_call_async($user)); } - public function discard_call($user) + public function discard_call($call, $reason, $rating = [], $need_debug = true) { - return $this->wait($this->discard_call_async($user)); + return $this->wait($this->discard_call_async($call, $reason, $rating, $need_debug)); } public function request_call_async($user) {