AnsweredAssumed Answered

Smack 4.1 Coninuously sending presence update

Question asked by Vineet Shukla on Nov 12, 2015
Latest reply on Nov 13, 2015 by Vineet Shukla

Hello all,

 

I have recently moved from 4.0.4 to 4.1.4. Presence change callback is getting called continuously. After checking logs I found that framework is sending presence packet continuously.

 

Below logs I see repeatedly while no presence is being updated from the client:

 

D/SMACK: SENT (0): <presence id='eJkZ3-881'><status>Online</status><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.igniterealtime.org/projects/smack' ver='E6FpoDPmjMQ3i53V+HWh0YBrS7U='/></presence>

D/SMACK: SENT (0): <iq to='+919333333333@devlab' id='eJkZ3-882' type='get'><query xmlns='jabber:iq:last'/></iq>

D/SMACK: RECV (0): <presence from='+91885435354@devlab/358021058487418' to='+91885435354@devlab/358021058487418' xml:lang='en' id='eJkZ3-881'><status>Online</status><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.igniterealtime.org/projects/smack' ver='E6FpoDPmjMQ3i53V+HWh0YBrS7U='/></presence>

D/SMACK: RECV (0): <iq from='+919333333333@devlab' to='+91885435354@devlab/358021058487418' id='eJkZ3-882' type='result'><query xmlns='jabber:iq:last' seconds='0'/></iq>

D/SMACK: RECV (0): <presence from='+919333333333@devlab/353490069483903' to='+91885435354@devlab/358021058487418' xml:lang='en' id='m0hUy-2963'><status>Online</status><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.igniterealtime.org/projects/smack' ver='E6FpoDPmjMQ3i53V+HWh0YBrS7U='/></presence>

 

I have checked the forums but I could not find a single post where such a problem is being reported.

 

How to notify avatar change to other users?

 

Any help is appreciated, thanks in advance !!!

 

BR,

Vineet

Outcomes