Project

General

Profile

how to notify buddies when the internet is disconnected

Jimmy Cheng
Added over 5 years ago

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?


Replies (1)

Avatar?id=6023&size=32x32

Added by Artur Hefczyc TigaseTeam 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.

    (1-1/1)