mirror of
https://gitflic.ru/project/alt-gnome/karkas.git
synced 2024-12-23 16:23:02 +03:00
fix: change pop to remove
This commit is contained in:
parent
fe9bbebd79
commit
f64800949c
@ -100,7 +100,7 @@ async def left_member_handler(event: "ChatMemberUpdated", bot: Bot):
|
||||
task = verification_tasks.get(key)
|
||||
await task.end(success=False)
|
||||
|
||||
verification_tasks.pop((user_id, chat_id), None)
|
||||
verification_tasks.remove(key_from_user_chat(user_id, chat_id))
|
||||
|
||||
|
||||
async def verify_timeout(task: BaseTask):
|
||||
|
Loading…
Reference in New Issue
Block a user