diff --git a/pyrogram/connection/connection.py b/pyrogram/connection/connection.py index 17ed9495..58bf4fdc 100644 --- a/pyrogram/connection/connection.py +++ b/pyrogram/connection/connection.py @@ -36,7 +36,7 @@ class Connection: 4: TCPIntermediateO } - def __init__(self, dc_id: int, test_mode: bool, ipv6: bool, proxy: dict, mode: int = 2): + def __init__(self, dc_id: int, test_mode: bool, ipv6: bool, proxy: dict, mode: int = 1): self.dc_id = dc_id self.ipv6 = ipv6 self.proxy = proxy