mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-06-18 11:06:39 +00: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,
|
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)
|
pts = PtsInfo.from_update(update)
|
||||||
if not pts:
|
if not pts:
|
||||||
# No pts means that the update can be applied in any order.
|
# No pts means that the update can be applied in any order.
|
||||||
|
Loading…
Reference in New Issue
Block a user