From 8bac7def096b100ae2ce87ebe8b115bad17ddaa3 Mon Sep 17 00:00:00 2001 From: MrMasrozYTLIVE <61359286+MrMasrozYTLIVE@users.noreply.github.com> Date: Sun, 9 Jun 2024 11:17:20 +0300 Subject: [PATCH] I fr fixed it this time --- app.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app.js b/app.js index f45abdf..302e547 100644 --- a/app.js +++ b/app.js @@ -279,8 +279,7 @@ function leaveRoom() { roomItem.remove(); } - console.log(topic); - config.rooms = config.rooms.filter(e => e !== currentRoom.topic.toString()); + config.rooms = config.rooms.filter(e => e !== topic); writeConfigToFile("./config.json"); currentRoom.destroy();