how to notify buddies when the internet is disconnected
When the internet is disconnected,how to notify buddies my presence?Will xmpp server monitors everyone's presence every several seconds?I have made experience that after the internet is disconnected,my presence is online in my friend's buddy list, the field "online_status" of table "tig_users" is unchanged all the time.any suggestions?
Added by Artur Hefczyc over 5 years ago
Once the server discovers that the connection with the client/user is broken it sends offline status immediately to all buddies form the roster. However, how quickly it discovers that the user is disconnected depends on many factors. In the worse case it may even take 30 minutes.