Add missing begin_get_diff call on updatesTooLong

This commit is contained in:
Lonami Exo 2022-05-25 15:28:15 +02:00
parent b180b53619
commit aa7a083444

View File

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