[BUG] User online state error
- Your Rocket.Chat app version: 3.2.0
- Your Rocket.Chat server version: 0.73.2
- Device (or Simulator) you're running with: iPhone XR (iOS 12.1)
When my RocketChat enters the background mode, my online state is offline on others client. I can still receive the messages at this time. I think the online state display is wrong.
Hi @CoderJoyWang, the Rocket.Chat team might correct me if I'm wrong but based on my experience this is the expected behavior. "Online" means "active", if the app enters background, you're not active at the moment. As soon as you receive a message and open the app, you're back to active.
I found this problem too.
As @coruble pointed, that's what happens. If the app is in background, your WebSocket connection is going to go offline because you're not active/online in the application. How can you still receive messages? Via push notification?