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

@@ -75,7 +75,7 @@ class ChatGetter(abc.ABC):
try:
# The chat may be recent, look in dialogs
target = self.chat_id
async for d in self._client.iter_dialogs(100):
async for d in self._client.get_dialogs(100):
if d.id == target:
self._chat = d.entity
self._input_chat = d.input_entity