Update settings when upgrading
This commit is contained in:
parent
55d4de2df9
commit
c0af617862
2
docs
2
docs
@ -1 +1 @@
|
||||
Subproject commit 1523eda477bfd325bd78590d17e36359365f2530
|
||||
Subproject commit aba1bf55122500b13163d9589404d4cb7ca49c1b
|
@ -827,6 +827,7 @@ class MTProto extends AsyncConstruct implements TLCallback
|
||||
$this->resetMTProtoSession(true, true);
|
||||
$this->config = ['expires' => -1];
|
||||
$this->dh_config = ['version' => 0];
|
||||
$this->settings = $settings;
|
||||
yield from $this->__construct_async($settings);
|
||||
foreach ($this->secret_chats as $chat => $data) {
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user