I'm building an android application with chat functionality which uses a XMPP server which is tigase. I ran into this neat issue of which; when a user's data connection drops, the presence state still displays as online. I read in the tigase forums that this is the typical behavior. It takes by default about 10 minutes to update the status.
But, we all know that chat apps like Gtalk used to show presence correctly in this type of situations. So my questions are:
Is this normal in XMPP? What trick/hack/workaround will help me overcome this? (I have already tried editing the init.properties file and restarting for a timeout of 10s, but still no response)
Is tigase the correct answer? My user base would be around a couple of thousand users max if this starts up, and it would not matter to change into a more simpler XMPP server?
Will requesting presence for a peer force the server to re-check the connection status of users? will that trigger any presence updates?
My client library is Asmack. (if that helps)
Thanks in advance :)