Regenerate settings on wakeup
This commit is contained in:
parent
4089efe8b0
commit
119e29f4a7
|
@ -52,6 +52,7 @@ class MyTelegramOrgWrapper
|
||||||
if ($this->settings === null) {
|
if ($this->settings === null) {
|
||||||
$this->settings = [];
|
$this->settings = [];
|
||||||
}
|
}
|
||||||
|
$this->settings = MTProto::getSettings($this->settings);
|
||||||
$this->datacenter = new DataCenter(
|
$this->datacenter = new DataCenter(
|
||||||
new class($this->settings)
|
new class($this->settings)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user