After aprox. 45 seconds connected the server send me unavailable presence

Moral Moral
Added almost 4 years ago

I'm chatting with my own user ( to another user (1-1 conversation), all is fine after 45 seconds aprox. then I auto receive the next presence:

RECEIVED: < presence xmlns="jabber:client" from="" to="" type="unavailable"/ >

I can verify that this presence is not sent in the client side, any idea?

thanks in advance,

Replies (3)

Added by Wojciech Kapcia TigaseTeam almost 4 years ago

Best way would be to enable debugging (i.e. @--debug=server,xmpp.impl@) and track down where the presence packet originates.

Added by Moral Moral almost 4 years ago

thanks for the reply, it seems to be Last Activity plugin.


Added by Artur Hefczyc TigaseTeam almost 4 years ago

This most likely happens when the client lost connections to the server. When the server discovers that the user disconnected one of his resources it generates presence unavailable on behalf of the user and sends it to all user's contacts and all user's other connections.