2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-09-01 06:45:39 +00:00

Add missing await

This commit is contained in:
Dan
2019-03-12 16:48:34 +01:00
parent ae96ca5b90
commit 3d23b681e3

View File

@@ -86,7 +86,7 @@ class IterChatMembers(BaseClient):
queries = [query] if query else QUERIES
total = limit or (1 << 31) - 1
limit = min(200, total)
resolved_chat_id = self.resolve_peer(chat_id)
resolved_chat_id = await self.resolve_peer(chat_id)
filter = (
Filters.RECENT