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 queries = [query] if query else QUERIES
total = limit or (1 << 31) - 1 total = limit or (1 << 31) - 1
limit = min(200, total) limit = min(200, total)
resolved_chat_id = self.resolve_peer(chat_id) resolved_chat_id = await self.resolve_peer(chat_id)
filter = ( filter = (
Filters.RECENT Filters.RECENT