mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-23 10:31:13 +01:00
Stop sending init
This commit is contained in:
parent
e31b69a2b9
commit
0182a8f96e
@ -500,7 +500,9 @@ final class VoIPController
|
||||
EventLoop::queue(function () use ($endpoint): void {
|
||||
while ($this->voipState->value <= VoIPState::WAIT_INIT_ACK->value) {
|
||||
$this->log("Sending PKT_INIT to $endpoint...");
|
||||
$endpoint->sendInit();
|
||||
if (!$endpoint->sendInit()) {
|
||||
return;
|
||||
}
|
||||
delay(0.02);
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user