mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 09:26:37 +03:00
Add missing begin_get_diff call on updatesTooLong
This commit is contained in:
parent
b180b53619
commit
aa7a083444
|
@ -365,6 +365,7 @@ class MessageBox:
|
|||
date = getattr(updates, 'date', None)
|
||||
if date is None:
|
||||
# updatesTooLong is the only one with no date (we treat it as a gap)
|
||||
self.begin_get_diff(ENTRY_ACCOUNT)
|
||||
raise GapError
|
||||
|
||||
# v1 has never sent updates produced by the client itself to the handlers.
|
||||
|
|
Loading…
Reference in New Issue
Block a user