Notification when a user forcibly disconnect from current room

This commit is contained in:
Hexagon 2014-09-18 23:08:54 +02:00
parent 6352d3ee94
commit 9205eb93b0
1 changed files with 0 additions and 1 deletions

View File

@ -41,7 +41,6 @@ app.io.sockets.on('connection', function(socket) {
// Notify other users of the room
if( socket.current_room !== undefined ) {
socket.broadcast.to(socket.current_room).emit('message:server', 'A person left this room');
console.log('Person left' + socket.current_room);
}
});
});