lel
This commit is contained in:
commit
2e83d0991e
@ -269,8 +269,15 @@ class MTProto extends \Volatile
|
|||||||
}
|
}
|
||||||
foreach ($this->calls as $id => $controller) {
|
foreach ($this->calls as $id => $controller) {
|
||||||
if (is_array($controller) || $controller->getCallState() === \danog\MadelineProto\VoIP::CALL_STATE_ENDED) {
|
if (is_array($controller) || $controller->getCallState() === \danog\MadelineProto\VoIP::CALL_STATE_ENDED) {
|
||||||
|
<<<<<<< HEAD
|
||||||
$controller->discard();
|
$controller->discard();
|
||||||
} else var_dump($controller->getCallState());
|
} else var_dump($controller->getCallState());
|
||||||
|
=======
|
||||||
|
unset($this->calls[$id]);
|
||||||
|
} else {
|
||||||
|
var_dump($controller->getCallState());
|
||||||
|
}
|
||||||
|
>>>>>>> d2ce6c06842a023a088ca7ac2b6d3967641a868d
|
||||||
}
|
}
|
||||||
// Detect ipv6
|
// Detect ipv6
|
||||||
$this->ipv6 = (bool) strlen(@file_get_contents('http://ipv6.test-ipv6.com/', false, stream_context_create(['http' => ['timeout' => 1]]))) > 0;
|
$this->ipv6 = (bool) strlen(@file_get_contents('http://ipv6.test-ipv6.com/', false, stream_context_create(['http' => ['timeout' => 1]]))) > 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user