- Added chat room function

- improved logs
This commit is contained in:
2021-05-26 22:41:05 +02:00
parent b911164db2
commit 50327dfffc
3 changed files with 48 additions and 15 deletions

View File

@@ -24,7 +24,7 @@ window.addEventListener('load', function () {
});
// Login
socket.emit('add user', username);
socket.emit('add user', {'username': username, 'room_name': room_name});
});
function sendMessage() {