How can I tell when a client is offline? #45
-
I need to do “stuff” when a user goes offline (close window), in a chat. Is there a way to detect that via Wave somehow? I’m trying to use the Echo Presence stuff but when the use closes the browser I want to mark them offline. anyone done this? |
Beta Was this translation helpful? Give feedback.
Answered by
slavarazum
Apr 13, 2024
Replies: 2 comments 3 replies
-
The "leave" event for presence channels is triggered by the |
Beta Was this translation helpful? Give feedback.
3 replies
-
You can manage a user's online status using presence channels. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
slavarazum
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can manage a user's online status using presence channels.