From 5a26ff0d18cfdcd63d9e43593df31486ee26147f Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Sun, 24 Dec 2017 12:56:17 +0000 Subject: [PATCH] Settings fix --- src/danog/MadelineProto/MTProto.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/danog/MadelineProto/MTProto.php b/src/danog/MadelineProto/MTProto.php index f3e91c7e..60588bf4 100644 --- a/src/danog/MadelineProto/MTProto.php +++ b/src/danog/MadelineProto/MTProto.php @@ -46,7 +46,7 @@ class MTProto /* const V = 71; */ - const V = 85; + const V = 86; const NOT_LOGGED_IN = 0; const WAITING_CODE = 1; @@ -553,7 +553,7 @@ class MTProto 'updates' => [ 'handle_updates' => true, // Should I handle updates? 'handle_old_updates' => true, // Should I handle old updates on startup? - 'getdifference_interval' => 30, // Getdifference manual polling interval + 'getdifference_interval' => -1, // Getdifference manual polling interval 'callback' => 'get_updates_update_handler', // A callable function that will be called every time an update is received, must accept an array (for the update) as the only parameter ], 'secret_chats' => [