make sure sockets leave the current room when entering another

This commit is contained in:
barisusakli
2014-11-16 16:37:31 -05:00
parent 8e114c2093
commit f0797493ee
2 changed files with 6 additions and 5 deletions

View File

@@ -207,7 +207,6 @@ var socket,
socket.emit('meta.rooms.enter', {
enter: room,
leave: app.currentRoom,
username: app.username,
userslug: app.userslug,
picture: app.picture