You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I leave the client for 60 seconds so a message away is sent from client to server. The server part of UserPresence captures that correctly, but somehow my callback method receives a different value
When I turned off the tab, the server receives a remove connection message, but my method callback still receives an online status. I am doing this correctly, or any setting needs to be turned on?
Hi all,
I am using Rocket.chat for my project and need to keep track if visitor is online, away or offline.
My Code:
I leave the client for 60 seconds so a message
away
is sent from client to server. The server part ofUserPresence
captures that correctly, but somehow my callback method receives a different valueServer's log:
When I turned off the tab, the server receives a
remove connection
message, but my method callback still receives anonline
status. I am doing this correctly, or any setting needs to be turned on?The text was updated successfully, but these errors were encountered: