diff --git a/modules/inline.py b/modules/inline.py index 45962c1..851b42d 100644 --- a/modules/inline.py +++ b/modules/inline.py @@ -44,7 +44,7 @@ async def inline_answer(client, inline_query): if holo_user.application_approved() or (await isAnAdmin(holo_user.id) is True): - max_results = configGet("inline_preview_count") if inline_query.query is not "" else 200 + max_results = configGet("inline_preview_count") if inline_query.query != "" else 200 list_of_users = [] async for m in app.get_chat_members(configGet("destination_group"), limit=max_results, filter=ChatMembersFilter.SEARCH, query=inline_query.query):