From f2e13cdac1c05d06a393f2e79cd41fc6c3b89e0b Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Sun, 18 Feb 2018 13:33:17 +0000 Subject: [PATCH] Fix composer.json syntax --- bot.php | 2 +- composer.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bot.php b/bot.php index 3162133cb..7651388c4 100755 --- a/bot.php +++ b/bot.php @@ -13,7 +13,7 @@ If not, see . set_include_path(get_include_path().':'.realpath(dirname(__FILE__).'/MadelineProto/')); require 'vendor/autoload.php'; -$settings = ['app_info' => ['api_id' => 6, 'api_hash' => 'eb06d4abfb49dc3eeb1aeb98ae0f581e'], 'connection_settings' => ['all' => ['protocol' => 'https', 'pfs' => true]]]; +$settings = ['app_info' => ['api_id' => 6, 'api_hash' => 'eb06d4abfb49dc3eeb1aeb98ae0f581e'], 'connection_settings' => ['all' => ['protocol' => 'tcp_abridged', 'pfs' => true]]]; try { $MadelineProto = new \danog\MadelineProto\API('bot.madeline'); diff --git a/composer.json b/composer.json index 4e8fb9200..f3038cd37 100644 --- a/composer.json +++ b/composer.json @@ -37,14 +37,14 @@ "danog\\MadelineProto\\": "src/" }, "files": [ - "src/BigIntegor.php" + "src/BigIntegor.php", "src/Socket.php", "src/Collectable.php", "src/Threaded.php", "src/Volatile.php", "src/Thread.php", "src/Worker.php", - "src/Pool.php", + "src/Pool.php" ] } }