From a25adf2d7c8a1e606b03294788a7aada24e1a501 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Sun, 12 Feb 2017 21:53:16 +0100 Subject: [PATCH] Bugfix --- src/danog/MadelineProto/API.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/danog/MadelineProto/API.php b/src/danog/MadelineProto/API.php index 42fbf82e..d3143d0a 100644 --- a/src/danog/MadelineProto/API.php +++ b/src/danog/MadelineProto/API.php @@ -65,7 +65,7 @@ class API extends APIFactory if (!isset($this->v) || $this->v !== $this->getV()) { \danog\MadelineProto\Logger::log(['Serialization is out of date, reconstructing object!'], Logger::WARNING); $this->API->__construct($this->API->settings); - $this->v = $current; + $this->v = $this->getV(); } }