forked from snxraven/LinkUp-P2P-Chat
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();
|
||||
}
|
||||
|
||||
console.log(topic);
|
||||
config.rooms = config.rooms.filter(e => e !== currentRoom.topic.toString());
|
||||
config.rooms = config.rooms.filter(e => e !== topic);
|
||||
writeConfigToFile("./config.json");
|
||||
|
||||
currentRoom.destroy();
|
||||
|
Loading…
x
Reference in New Issue
Block a user