From 2a2fbed732bc0c5e717fca57efa9e201d03154fb Mon Sep 17 00:00:00 2001 From: MrMasrozYTLIVE <61359286+MrMasrozYTLIVE@users.noreply.github.com> Date: Sun, 9 Jun 2024 11:15:05 +0300 Subject: [PATCH] Well i didnt... --- app.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app.js b/app.js index 0bd98c9..475cedc 100644 --- a/app.js +++ b/app.js @@ -279,6 +279,10 @@ function leaveRoom() { roomItem.remove(); } + console.log(config.rooms); + console.log(config.rooms.filter(e => e !== currentRoom.topic.toString())); + console.log(currentRoom.topic); + console.log(currentRoom.topic.toString()); config.rooms = config.rooms.filter(e => e !== currentRoom.topic.toString()); writeConfigToFile("./config.json");