mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 04:52:30 +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:
|
||||
result.append(message)
|
||||
|
||||
result.total = self.total
|
||||
return result
|
||||
|
||||
@abc.abstractmethod
|
||||
|
Reference in New Issue
Block a user