Well i hope i fixed it now
This commit is contained in:
2
app.js
2
app.js
@@ -279,7 +279,7 @@ function leaveRoom() {
|
|||||||
roomItem.remove();
|
roomItem.remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
config.rooms = config.rooms.filter(e => e !== currentRoom.topic);
|
config.rooms = config.rooms.filter(e => e !== currentRoom.topic.toString());
|
||||||
writeConfigToFile("./config.json");
|
writeConfigToFile("./config.json");
|
||||||
|
|
||||||
currentRoom.destroy();
|
currentRoom.destroy();
|
||||||
|
Reference in New Issue
Block a user