Well i didnt...

This commit is contained in:
MrMasrozYTLIVE 2024-06-09 11:15:05 +03:00
parent c59795a407
commit 2a2fbed732

4
app.js
View File

@ -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");