mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-02 11:10:18 +03:00
Update telethon/network/connection/tcpmtproxy.py
Co-authored-by: Lonami <totufals@hotmail.com>
This commit is contained in:
parent
8a72bc52b2
commit
e451970c0f
|
@ -146,7 +146,7 @@ class TcpMTProxy(ObfuscatedConnection):
|
||||||
secret = secret + "=="
|
secret = secret + "=="
|
||||||
secret_bytes = base64.b64decode(secret.encode())
|
secret_bytes = base64.b64decode(secret.encode())
|
||||||
|
|
||||||
return secret_bytes[:16] # Remove the domain from the secret (until domain support is added)
|
return secret_bytes[:16] # Remove the domain from the secret (until domain support is added)
|
||||||
|
|
||||||
class ConnectionTcpMTProxyAbridged(TcpMTProxy):
|
class ConnectionTcpMTProxyAbridged(TcpMTProxy):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user