A question about "subscription"

Hi all, I use Smack to add a contact sucessfully(SubscriptionMode is “Roster.SubscriptionMode.accept_all”), then I logon to Openfire admin console and find the Subscription of the user I added is “to”. My question is how to change this subscription to “both” by Smack?

Thanks in advance.

Hello,

From what I can remember, you don’t actually set the subscription to BOTH yourself. If your client sets a subscription first it becomes TO and if the other user sets a subscription first it becomes FROM. If both users set the subscription to each other, then the sever changes it to BOTH automatically.

Chris

I do it by your wizard and it works, Thank you very much!