feathers-chat icon indicating copy to clipboard operation
feathers-chat copied to clipboard

How to update the number of currently connected users?

Open frapik99 opened this issue 9 years ago • 1 comments

Hi, first of all thanks for this great example. I would ask if possible, if someone can tell me how to make possible that if a user disconnects the number of total user can be updated for all the other users already connected.

Thanks

frapik99 avatar Jan 10 '17 18:01 frapik99

Its possible with auth v1 using app.on('login', ...) and app.on('logout', ...).

I'm not sure its that easy with v0.7. Sometime custom may be needed.

eddyystop avatar Jan 11 '17 02:01 eddyystop

This was solved sometime in the last five years... Closing

FossPrime avatar Apr 30 '23 03:04 FossPrime