Update iter_ usages with get_

This commit is contained in:
Lonami Exo
2022-02-04 13:09:57 +01:00
parent 3b12cc3e51
commit ae43a47602
8 changed files with 30 additions and 30 deletions

View File

@@ -140,7 +140,7 @@ class _MessagesIter(requestiter.RequestIter):
# trigger `RPC_CALL_FAIL` which is "internal issues"...
if not isinstance(filter, _tl.InputMessagesFilterEmpty) \
and offset_date and not search and not offset_id:
async for m in self.client.iter_messages(
async for m in self.client.get_messages(
self.entity, 1, offset_date=offset_date):
self.request.offset_id = m.id + 1
else: