1
0
mirror of https://github.com/danog/MadelineProto.git synced 2025-01-23 00:11:20 +01:00
This commit is contained in:
Daniil Gentili 2021-12-05 17:42:09 +01:00
parent abadfb745e
commit 6cdca88f13
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7
2 changed files with 1 additions and 2 deletions

View File

@ -323,7 +323,7 @@ class API extends InternalDoc
// Success, IPC client // Success, IPC client
$this->API = new Client($unserialized, $this->session, Logger::$default, $this->async); $this->API = new Client($unserialized, $this->session, Logger::$default, $this->async);
$this->APIFactory(); $this->APIFactory();
if ($settings) { if (!$settings instanceof SettingsEmpty) {
$this->API->updateSettings($settings); $this->API->updateSettings($settings);
} }
return true; return true;

View File

@ -5,7 +5,6 @@ namespace danog\MadelineProto\MTProtoTools;
use Amp\Loop; use Amp\Loop;
use danog\MadelineProto\Logger; use danog\MadelineProto\Logger;
use danog\MadelineProto\Magic; use danog\MadelineProto\Magic;
use ReflectionClass;
final class GarbageCollector final class GarbageCollector
{ {