Not logged in. · Lost password · Register
Forum: agsXMPP RSS
hapton #1
Member since May 2010 · 7 posts
Group memberships: Members
Show profile · Link to this post
Subject: Add buddy and presence
When other contactor adds me, we write the code like this:
 PresenceManager pm = new PresenceManager(RosterModal.Instance.XmppCon);
 RosterModal.Instance.XmppCon.PresenceManager.Subscribe(new Jid(pres.From.Bare));
The last sentence asks other contactor authorize me? Then I can see his presence info. Is it right??
Thanks. Alex.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS