I fr fixed it this time

This commit is contained in:
MrMasrozYTLIVE 2024-06-09 11:17:20 +03:00
parent d44ef48d89
commit 8bac7def09

3
app.js
View File

@ -279,8 +279,7 @@ function leaveRoom() {
roomItem.remove(); roomItem.remove();
} }
console.log(topic); config.rooms = config.rooms.filter(e => e !== topic);
config.rooms = config.rooms.filter(e => e !== currentRoom.topic.toString());
writeConfigToFile("./config.json"); writeConfigToFile("./config.json");
currentRoom.destroy(); currentRoom.destroy();