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

"Is writing.." feature doesn' t work correctly when two or more users are writing at the same time. #18

Closed nicky1525 closed 11 years ago

nicky1525 commented 11 years ago

The problem might be related to timers. We should probably create a timer for each writing user.

simonewebdesign commented 11 years ago

The problem might be related to timers. We should probably create a
timer for each writing user.

Yeah, that's right. We need to instantiate a separate timer for each user; a global timer object is not useful anymore. Let's remove it.