Skip to content

Commit 03f57cd

Browse files
committed
Use TCPAbridgedO as default connection mode
1 parent 5532c12 commit 03f57cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyrogram/connection/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class Connection:
3737
4: TCPIntermediateO
3838
}
3939

40-
def __init__(self, dc_id: int, test_mode: bool, ipv6: bool, proxy: dict, mode: int = 1):
40+
def __init__(self, dc_id: int, test_mode: bool, ipv6: bool, proxy: dict, mode: int = 3):
4141
self.dc_id = dc_id
4242
self.ipv6 = ipv6
4343
self.proxy = proxy

0 commit comments

Comments
 (0)