This commit is contained in:
Daniil Gentili 2017-02-12 21:53:16 +01:00
parent 3a29b36e24
commit a25adf2d7c

View File

@ -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();
}
}