Update telethon/network/connection/tcpmtproxy.py

Co-authored-by: Lonami <totufals@hotmail.com>
This commit is contained in:
Confused Character 2024-02-16 20:21:19 +03:30 committed by GitHub
parent 8a72bc52b2
commit e451970c0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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):
""" """