Well i hope i fixed it now
This commit is contained in:
parent
33e0a13f93
commit
c59795a407
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();
|
||||||
|
Loading…
Reference in New Issue
Block a user