mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 01:16:35 +03:00
Add back UpdateChannelTooLong check
Removed in the previous commit 2bcedb98
.
This commit is contained in:
parent
2bcedb9820
commit
5a1b9daf4c
|
@ -439,6 +439,11 @@ class MessageBox:
|
|||
*,
|
||||
reset_deadline,
|
||||
):
|
||||
# This update means we need to call getChannelDifference to get the updates from the channel
|
||||
if isinstance(update, tl.UpdateChannelTooLong):
|
||||
self.begin_get_diff(u.channel_id)
|
||||
return None
|
||||
|
||||
pts = PtsInfo.from_update(update)
|
||||
if not pts:
|
||||
# No pts means that the update can be applied in any order.
|
||||
|
|
Loading…
Reference in New Issue
Block a user