From 80f918956a147c53e7878323f0f9b03d27475397 Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Thu, 15 Feb 2018 10:02:12 +0100 Subject: [PATCH] Revert "official apps must be obfuscated" (29471f3) It didn't really make any sense and @danog keeps changing it. --- telethon/telegram_bare_client.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/telethon/telegram_bare_client.py b/telethon/telegram_bare_client.py index 5984bb2e..db07f321 100644 --- a/telethon/telegram_bare_client.py +++ b/telethon/telegram_bare_client.py @@ -103,8 +103,6 @@ class TelegramBareClient: self.session = session self.api_id = int(api_id) self.api_hash = api_hash - if self.api_id < 20: # official apps must use obfuscated - connection_mode = ConnectionMode.TCP_OBFUSCATED # This is the main sender, which will be used from the thread # that calls .connect(). Every other thread will spawn a new