mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-28 00:56:19 +00:00
parent
89daf09500
commit
bdfba51410
@ -33,7 +33,7 @@ class Connection:
|
||||
}
|
||||
|
||||
def __init__(self, ipv4: str, proxy: type, mode: int = 1):
|
||||
self.address = (ipv4, 443)
|
||||
self.address = (ipv4, 80)
|
||||
self.proxy = proxy
|
||||
self.mode = self.MODES.get(mode, TCPAbridged)
|
||||
self.lock = threading.Lock()
|
||||
|
Loading…
Reference in New Issue
Block a user