[check] some fixes

This commit is contained in:
levina 2022-02-21 21:44:50 +07:00 committed by GitHub
parent 53ee1b109f
commit fce518b1c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,7 +123,8 @@ async def stop_group_call(c: Client, m: Message):
msg = await c.send_message(chat_id, "`stopping...`") msg = await c.send_message(chat_id, "`stopping...`")
if not ( if not (
group_call := ( group_call := (
await get_calls(m, err_msg=", group call is already ended.") await get_calls(m, err_msg)
await msg.edit_text("❌ The group call already ended")
) )
): ):
return return