From e020da1061c8f52dbe687e38697926583446c51f Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Tue, 8 Feb 2022 00:18:10 +0700 Subject: [PATCH] fixes --- program/video.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/program/video.py b/program/video.py index 4c7dc08..4aaafc2 100644 --- a/program/video.py +++ b/program/video.py @@ -70,7 +70,7 @@ async def vplay(c: Client, m: Message): chat_id = m.chat.id user_id = m.from_user.id user_xd = f"[{m.from_user.first_name}](tg://user?id={m.from_user.id})" - if chat_id in blacklisted_chats(): + if chat_id in await blacklisted_chats(): await m.reply( "❗️ This chat has blacklisted by sudo user and You're not allowed to use me in this chat." ) @@ -348,7 +348,7 @@ async def vstream(c: Client, m: Message): chat_id = m.chat.id user_id = m.from_user.id user_xd = f"[{m.from_user.first_name}](tg://user?id={m.from_user.id})" - if chat_id in blacklisted_chats(): + if chat_id in await blacklisted_chats(): await m.reply( "❗️ This chat has blacklisted by sudo user and You're not allowed to use me in this chat." )