This commit is contained in:
Daniil Gentili 2020-03-03 00:15:21 +01:00
parent 80f162a116
commit 74187b8132
1 changed files with 1 additions and 1 deletions

View File

@ -372,7 +372,7 @@ trait UpdateHandler
if (!isset($this->calls[$update['phone_call']['id']])) {
return;
}
return $this->calls[$update['phone_call']['id']]->discard($update['phone_call']['reason'] ?? '', [], $update['phone_call']['need_debug'] ?? false);
return $this->calls[$update['phone_call']['id']]->discard($update['phone_call']['reason'] ?? [], [], $update['phone_call']['need_debug'] ?? false);
}
}
if ($update['_'] === 'updateNewEncryptedMessage' && !isset($update['message']['decrypted_message'])) {