2
0
mirror of https://github.com/LonamiWebs/Telethon synced 2025-08-31 06:15:34 +00:00

Fix ReadThread not starting on reconnect if already authorized

This commit is contained in:
Lonami Exo
2017-10-18 14:45:08 +02:00
parent 5a1074dc7c
commit 87dc476dae

View File

@@ -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