mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 12:51:18 +00:00
Use TCPAbridgedO as default connection mode
This commit is contained in:
parent
5532c12e56
commit
03f57cd2af
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user