mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 05:19:41 +00:00
Remove another redundant if
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user