mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-01-23 15:54:12 +03:00
Revert "official apps must be obfuscated" (29471f3
)
It didn't really make any sense and @danog keeps changing it.
This commit is contained in:
parent
e9dd93f09c
commit
80f918956a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user