This commit is contained in:
Daniil Gentili 2017-06-25 20:37:28 +02:00
commit 18c4829b86

View File

@ -14,7 +14,8 @@ namespace danog\MadelineProto\VoIP;
trait CallbackHandler
{
function get_incoming_call_callbacks() {
public function get_incoming_call_callbacks()
{
$callbacks = $this->settings['calls']['incoming_callback'] === 'default_incoming_call_callback' ? [] : $this->settings['calls']['incoming_callback']();
}
}
}