diff --git a/telethon/update_state.py b/telethon/update_state.py index b7c43ba3..c3768fbd 100644 --- a/telethon/update_state.py +++ b/telethon/update_state.py @@ -165,8 +165,6 @@ class UpdateState: elif isinstance(update, (tl.Updates, tl.UpdatesCombined)): for u in update.updates: self._updates.put(u) - elif not isinstance(update, tl.UpdatesTooLong): - # TODO Handle "Updates too long" - self._updates.put(update) + # TODO Handle "tl.UpdatesTooLong" else: self._updates.put(update)