powered by Jive Software

Unable to set offline in time to cause message loss

The version of smack used is 4.3.3
The APP is killed by the user, but the background session also shows that the user is online. This problem causes the message to be lost, and the message is not sent to the user after going online.Is there a way to tell the background service when the app is killed?