Fix iter_messages with ids= not being a list

This commit is contained in:
Lonami Exo 2019-02-28 08:26:37 +01:00
parent 70e0d865a8
commit 2681dc09bb

View File

@ -232,7 +232,7 @@ class _IDsIter(RequestIter):
if entity:
entity = await self.client.get_input_entity(entity)
self.total = len(ids)
self.total = len(self.ids)
from_id = None # By default, no need to validate from_id
if isinstance(entity, (types.InputChannel, types.InputPeerChannel)):