powered by Jive Software

How to see the jid of the user added me as rooster

Hi. I have a problem with smack. And the problem is,

Let there are two users a1 and a2. User a1 adds user a2 as his rooster. So a1 wants presence subscription from a2. I succesfully did that with ``“SetDefaultSubscriptionMode” method. Now a1 gets presence from user a2. But user a2 doesnt get presence from user a1.I changed the presence subscription of user a1 because it sent a2 presence request. But how can i change the subscription mode of a1 ?

Can anyone please help me with that? And i need this solution very fast.

Thank you

**
**

found my answer.