Presence is not getting updated if wifi is not working (user is not getting offline) with latest version of openfire 4.0.1


User Presence is not getting updated, if wifi is not working.

  1. first i am connecting to server from my android applicaiton.(status is online on server)

  2. i switched off my WIFI.but my presence is not getting updated to offline in Server

  3. I changed to true ,xmpp.server.session.idle=1,xmpp.client.idle=1000,but that is also not working,

please help.

Thanks in advance