mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-31 20:54:51 +00:00
Add missing await keywords
This commit is contained in:
parent
61e9762977
commit
e83012bfb8
2 changed files with 2 additions and 2 deletions
|
|
@ -126,5 +126,5 @@ class BaseClient:
|
|||
async def get_chat_members(self, *args, **kwargs):
|
||||
pass
|
||||
|
||||
def get_chat_members_count(self, *args, **kwargs):
|
||||
async def get_chat_members_count(self, *args, **kwargs):
|
||||
pass
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ class IterChatMembers(BaseClient):
|
|||
|
||||
filter = (
|
||||
Filters.RECENT
|
||||
if self.get_chat_members_count(chat_id) <= 10000 and filter == Filters.ALL
|
||||
if await self.get_chat_members_count(chat_id) <= 10000 and filter == Filters.ALL
|
||||
else filter
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue