I am adding a user from spark to my client. In this case if I change the status on spark I am not receiving any presence packet. I have enabled debugging on and it shows no packet when status changed .
Whereas If i reverse the user login .
Ex: earlier A on Spark, B on my client.
Now : A on my client, B on spark.
In this case I receive the presence packets.
What can be the problem ?
kk so far, for anyone else I figured it out.
I made the subscription mode to manual in my client.
Then when receiving a subscribe request I replied with subscribed packet and a subscribe packet to the one send the subscribe packet to me.
Thanks to : Yul, his comment gave me a hint.