mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-01-24 08:14:14 +03:00
Fix ReadThread not starting on reconnect if already authorized
This commit is contained in:
parent
5a1074dc7c
commit
87dc476dae
|
@ -229,6 +229,8 @@ class TelegramBareClient:
|
|||
self._set_connected_and_authorized()
|
||||
except UnauthorizedError:
|
||||
self._authorized = False
|
||||
elif self._authorized:
|
||||
self._set_connected_and_authorized()
|
||||
|
||||
return True
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user