1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 08:14:39 +01:00
This commit is contained in:
Daniil Gentili 2023-01-19 21:35:21 +01:00
parent 3742edd8d5
commit c8d902fb1f

View File

@ -97,11 +97,11 @@ final class ReferenceDatabase implements TLCallback
}
public function init(): void
{
$this->initDb($this->API);
if ($this->v === 0) {
$this->db->clear();
$this->v = self::V;
}
$this->initDb($this->API);
}
public function getMethodAfterResponseDeserializationCallbacks(): array
{