-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mark users as online or offline. #5
Comments
Is there a way, when they authenticate, to get the socket id on which it has happened ? This way, we could have an array of socket id on which the user is currently connected (and if the array is empty, then the user isn't connected anywhere). |
Marshall mentioned that feather-authenticate v1 now has |
It has |
@daffl |
For REST the user has to explicitly call |
Could someone please paste the code needed to hack into socket.io for listing all user connections? |
The best (and not so hacky) way to get all connections is to combine all event channels and list those connections:
|
Currently we need to hook into the socket to mark as user online when:
and offline when:
The text was updated successfully, but these errors were encountered: