Remove another redundant if

This commit is contained in:
Lonami Exo 2017-11-30 21:10:02 +01:00
parent 21a93d58ec
commit 6662f49bcb

View File

@ -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)