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:
parent
4ed8e8bd9b
commit
ac7f078e8c
@ -49,6 +49,9 @@ class MyTelegramOrgWrapper
|
||||
|
||||
public function __wakeup()
|
||||
{
|
||||
if ($this->settings === null) {
|
||||
$this->settings = [];
|
||||
}
|
||||
$this->datacenter = new DataCenter(
|
||||
new class($this->settings)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user