diff --git a/AlexaMusic/core/call.py b/AlexaMusic/core/call.py index 942603f6..5b7a0a06 100644 --- a/AlexaMusic/core/call.py +++ b/AlexaMusic/core/call.py @@ -56,6 +56,9 @@ async def _clear_(chat_id): + popped = db.pop(chat_id, None) + if popped: + await auto_clean(popped) db[chat_id] = [] await remove_active_video_chat(chat_id) await remove_active_chat(chat_id)