1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 09:38:57 +01:00

Backwards compatiblity fix

This commit is contained in:
Daniil Gentili 2019-06-21 18:37:39 +02:00
parent 4ed8e8bd9b
commit ac7f078e8c

View File

@ -49,6 +49,9 @@ class MyTelegramOrgWrapper
public function __wakeup()
{
if ($this->settings === null) {
$this->settings = [];
}
$this->datacenter = new DataCenter(
new class($this->settings)
{