Well i hope i fixed it now

This commit is contained in:
MrMasrozYTLIVE 2024-06-09 11:12:40 +03:00
parent 33e0a13f93
commit c59795a407

2
app.js
View File

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