mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 12:59:46 +00:00
Fix RequestIter not setting TotalList.total in collect()
This commit is contained in:
@@ -106,6 +106,7 @@ class RequestIter(abc.ABC):
|
|||||||
async for message in self:
|
async for message in self:
|
||||||
result.append(message)
|
result.append(message)
|
||||||
|
|
||||||
|
result.total = self.total
|
||||||
return result
|
return result
|
||||||
|
|
||||||
@abc.abstractmethod
|
@abc.abstractmethod
|
||||||
|
Reference in New Issue
Block a user