Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
memosky #1
Member since Nov 2007 · 1 post
Group memberships: Members
Show profile · Link to this post
Subject: Subscribe event don't fire when "invite again"
Hello, every body:)
I'm a new comer in agsXMPP, it's useful. Thank you!

1.a@gmail.com logged in MiniClient.
2.b@gmail.com logged in GTalk.
3.b@gmail.com invite a@gmail.com in GTallk (g@gmail.com don't a@gmail.com before)
4.a OnPresence with PresenceType.subscribe event fires in a@gmail.com's MiniClient
5.a@gmail.com approve the request
6.b@gmail.com remove a@gmail.com in GTalk
7.b@gmail.com re invite a@gmail.com

Then, the problem comes. a@gmail.com will not receive the PresenceType.subscribe event anymore. even if a@gmail.com remove b@gmail.com from its friend list.

Is there something wrong or it's just what google server want to do?

please help me. Thanks
This post was edited 2 times, last on 2007-11-23, 09:06 by memosky.
Avatar
Alex #2
Member since Feb 2003 · 4317 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Hello,

  • if a@gmail.com approves the request of b@gmail.com, a@gmail.com should also add b@gmailcom to the roster and send a subscription request.

  • if you remove a contact you should also cancel the subscription. I think you don't do this which is the reason why are still subscribed when you add the contact again to your roster.

See also there example here in RFC 3921:
http://www.xmpp.org/rfcs/rfc3921.html#int-remove

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