simonewebdesign / real-time-web-chat

A chat server and client built with Node, Socket.io, Express and MongoDB. Hosted on OpenShift
3 stars 0 forks source link

"User disconnected" message should not appear if the user refreshes page #25

Closed simonewebdesign closed 11 years ago

simonewebdesign commented 11 years ago

This is due to server's delay. When an user refreshes the browser or closes the window, the server is not able to immediately see that the user has been disconnected.

We should fix this by checking the actual socket ID, not the nickname.

simonewebdesign commented 11 years ago

This is not a problem per se