I have Openfire 4.0.2 which works fine when Smack client disconnect from server, the Openfire detects the disconnection and immediately shows user status as offline.
When I upgraded Openfire to 4.2.3, the user status continues to show online even after the same Smack client has disconnected from server. No change is made on the client.
To separate the issue, I have verified both Openfire versions by installing them afresh, and just created 1 user in the server. The issue remains.
1 thing worthy to note is that I enabled Stream Management on the client side in the above test. If I disable the client Stream Management, Openfire 4.2.3 can detect disconnection and shows user offline.
It seems like a bug in Openfire 4.2.3 that once Stream Management is enabled at client side, the Openfire fails to work preperly on detecting the disconnection.
Have anyone encoutered the problem? If yes, how did you resolve it?