Not logged in. · Lost password · Register
Forum: agsXMPP SDK Support RSS
Avatar
mrOrbit #1
Member since Jan 2006 · 9 posts
Group memberships: Members
Show profile · Link to this post
Subject: Add roster question.
I want, to realize the following behavior:

1. Add some roster to my contact list. (Send invitation to add).
2. Roster recive question that some user add him to contact list.
3. Roster could answer yes or no.
4. If roster answer yes. I add it to my contact list, another no.

And so.
I want send invitation to roster.
Answer on invitation.
Get information about roster answer.

I know that Jabber protocol support this functiononality.

How, i could do this with agsXMPP library?
Avatar
Alex #2
Member since Feb 2003 · 4245 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Hello,

You will find all your answers in the MiniClient code. Please look at the AddContact Form.

In XMPP you have always ask other people for presence after you added them to the roster. They can accept or deny your request. This is called subscription in XMPP.

Alex
Alexander Gnauck
AG-Software
Avatar
mrOrbit #3
Member since Jan 2006 · 9 posts
Group memberships: Members
Show profile · Link to this post
Subject: Thank you
Hi Alex

Thank you. I will research MiniClient code :))
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 SDK Support RSS