diff --git a/src/danog/MadelineProto/VoIP/AuthKeyHandler.php b/src/danog/MadelineProto/VoIP/AuthKeyHandler.php index 8d3a9530..a58181cf 100644 --- a/src/danog/MadelineProto/VoIP/AuthKeyHandler.php +++ b/src/danog/MadelineProto/VoIP/AuthKeyHandler.php @@ -111,11 +111,8 @@ trait AuthKeyHandler ($time - microtime(true)) // Time it took me to write frames ) * 1000000 ); - var_dump(($writePeriod - - ($time - microtime(true)) // Time it took me to write frames - ) * 1000000); $time = microtime(true); - $this->calls[$params['id']]['controller']->writeFrames(stream_get_contents($f, 960)); + $this->calls[$params['id']]['controller']->writeFrames(stream_get_contents($f, 960*2)); } $this->handle_pending_updates();