Subject: How to do Add friend with subscriptions is both
hi,alex
now i used this code to add friend,but this subscriptions is none.
var rm = new RosterManager(MainPage.xmppClient);
var pm = new PresenceManager(MainPage.xmppClient);
Jid jid = txtFriend.Text.Trim() + "@XXXXX";
string s=txtNickname.Text.Trim();
rm.Add(jid,s,"Friends");
pm.Subscribe(jid);
now how to do this subscriptions is both ? and i used this code the contact list is roster two friends,why this?
Regards
Kelsin
now i used this code to add friend,but this subscriptions is none.
var rm = new RosterManager(MainPage.xmppClient);
var pm = new PresenceManager(MainPage.xmppClient);
Jid jid = txtFriend.Text.Trim() + "@XXXXX";
string s=txtNickname.Text.Trim();
rm.Add(jid,s,"Friends");
pm.Subscribe(jid);
now how to do this subscriptions is both ? and i used this code the contact list is roster two friends,why this?
Regards
Kelsin