Rocket.Chat.iOS icon indicating copy to clipboard operation
Rocket.Chat.iOS copied to clipboard

[BUG] User online state error

Open JoyWang1010 opened this issue 7 years ago • 3 comments

  • 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.

JoyWang1010 avatar Jan 10 '19 13:01 JoyWang1010

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.

coruble avatar Jan 11 '19 11:01 coruble

I found this problem too.

steve7688 avatar Jan 12 '19 08:01 steve7688

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?

rafaelks avatar Jan 14 '19 11:01 rafaelks