mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-02-05 06:01:02 +03:00
Fix RequestIter not setting TotalList.total in collect()
This commit is contained in:
parent
968da5f72d
commit
4f647847e7
|
@ -106,6 +106,7 @@ class RequestIter(abc.ABC):
|
|||
async for message in self:
|
||||
result.append(message)
|
||||
|
||||
result.total = self.total
|
||||
return result
|
||||
|
||||
@abc.abstractmethod
|
||||
|
|
Loading…
Reference in New Issue
Block a user