diff --git a/composer.json b/composer.json index 7cb7ec59..5ac25013 100644 --- a/composer.json +++ b/composer.json @@ -31,7 +31,9 @@ "amphp/http-client-cookies": "^1", "danog/tg-file-decoder": "^0.1", "danog/magicalserializer": "^1.0", - "league/uri": "^6" + "league/uri": "^6", + "danog/ipc": "^0.1", + "tivie/htaccess-parser": "^0.2.3" }, "require-dev": { "vlucas/phpdotenv": "^3", diff --git a/src/danog/MadelineProto/MTProto.php b/src/danog/MadelineProto/MTProto.php index 30a8611b..4fcfb8be 100644 --- a/src/danog/MadelineProto/MTProto.php +++ b/src/danog/MadelineProto/MTProto.php @@ -821,9 +821,6 @@ class MTProto extends AsyncConstruct implements TLCallback $connection['obfuscated'] = true; } } - if ($settings['app_info']['api_id'] === 6) { - unset($settings['app_info']); - } $this->resetMTProtoSession(true, true); $this->config = ['expires' => -1]; $this->dh_config = ['version' => 0];