mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-11-16 05:40:45 +00:00
Fix pts may be 0 with no workers set (#808)
This commit is contained in:
@@ -2436,7 +2436,7 @@ class TelegramClient(TelegramBareClient):
|
||||
|
||||
def catch_up(self):
|
||||
state = self.session.get_update_state(0)
|
||||
if not state:
|
||||
if not state or not state.pts:
|
||||
return
|
||||
|
||||
self.session.catching_up = True
|
||||
|
||||
Reference in New Issue
Block a user