mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-10 19:46:36 +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()
|
self._set_connected_and_authorized()
|
||||||
except UnauthorizedError:
|
except UnauthorizedError:
|
||||||
self._authorized = False
|
self._authorized = False
|
||||||
|
elif self._authorized:
|
||||||
|
self._set_connected_and_authorized()
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user