mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-01-24 00:04:14 +03:00
Remove another redundant if
This commit is contained in:
parent
21a93d58ec
commit
6662f49bcb
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user