From 03f57cd2af53e56a1529c4ecd6812c9a7cae18de Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Mon, 5 Nov 2018 17:33:12 +0100 Subject: [PATCH] Use TCPAbridgedO as default connection mode --- pyrogram/connection/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/connection/connection.py b/pyrogram/connection/connection.py index 8020bc71..41f64a40 100644 --- a/pyrogram/connection/connection.py +++ b/pyrogram/connection/connection.py @@ -37,7 +37,7 @@ class Connection: 4: TCPIntermediateO } - def __init__(self, dc_id: int, test_mode: bool, ipv6: bool, proxy: dict, mode: int = 1): + def __init__(self, dc_id: int, test_mode: bool, ipv6: bool, proxy: dict, mode: int = 3): self.dc_id = dc_id self.ipv6 = ipv6 self.proxy = proxy