feathersjs/feathers-chat

How to update the number of currently connected users?

frapik99 opened this issue · 2 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

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.

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