mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 05:19:41 +00:00
Implement retry and fail cases in authenticator
This commit is contained in:
@@ -105,7 +105,7 @@ class MTProtoSender:
|
||||
await self._connection.connect(ip, port)
|
||||
self._user_connected = True
|
||||
|
||||
# TODO Handle SecurityError, AssertionError, NotImplementedError
|
||||
# TODO Handle SecurityError, AssertionError
|
||||
if self.session.auth_key is None:
|
||||
plain = MTProtoPlainSender(self._connection)
|
||||
self.session.auth_key, self.session.time_offset =\
|
||||
|
Reference in New Issue
Block a user