I fr fixed it this time
This commit is contained in:
parent
d44ef48d89
commit
8bac7def09
3
app.js
3
app.js
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user