Skip to content

Commit 525a68f

Browse files
committed
Cleanup properties
1 parent 3512169 commit 525a68f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/API.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ final class API extends AbstractAPI
5151
*
5252
* @var string
5353
*/
54-
public const RELEASE = '8.4.11';
54+
public const RELEASE = '8.4.12';
5555
/**
5656
* We're not logged in.
5757
*

src/MTProto.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1109,10 +1109,10 @@ private function upgradeMadelineProto(): void
11091109
$this->logger->logger(Lang::$current_lang['serialization_ofd'], Logger::WARNING);
11101110
$this->settings->setSchema(new TLSchema);
11111111

1112+
$this->cleanupProperties();
11121113
$this->resetMTProtoSession("upgrading madelineproto", true, true);
11131114
$this->config = ['expires' => -1];
11141115
$this->dh_config = ['version' => 0];
1115-
$this->cleanupProperties();
11161116
$this->initialize($this->settings);
11171117
foreach ($this->secretChats as $chat) {
11181118
try {

0 commit comments

Comments
 (0)