Fix catch-up when no pts is known

This commit is contained in:
Lonami Exo 2019-05-08 18:15:57 +02:00
parent d92d989569
commit cfd6d3ce04

View File

@ -154,6 +154,9 @@ class UpdateMethods(UserMethods):
This can also be used to forcibly fetch new updates if there are any.
"""
pts, date = self._state_cache[None]
if not pts:
return
self.session.catching_up = True
try:
while True: