mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-02-16 19:41:07 +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)
|
date = getattr(updates, 'date', None)
|
||||||
if date is None:
|
if date is None:
|
||||||
# updatesTooLong is the only one with no date (we treat it as a gap)
|
# updatesTooLong is the only one with no date (we treat it as a gap)
|
||||||
|
self.begin_get_diff(ENTRY_ACCOUNT)
|
||||||
raise GapError
|
raise GapError
|
||||||
|
|
||||||
# v1 has never sent updates produced by the client itself to the handlers.
|
# v1 has never sent updates produced by the client itself to the handlers.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user