From fe26937ceec9e11b3b00a40191a35fd3026ae68c Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Tue, 27 Jun 2017 07:32:44 +0100 Subject: [PATCH] Fixes --- src/danog/MadelineProto/VoIP/AuthKeyHandler.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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();