Yes, I found this inconsistence too.
I have wrote a chat bot using gtalk service,
The bot's buddies are over 2000,
So the presence of these buddies blocks the net io,
Somebody can help me unsubscribe them,
or let gtalk server don't send me these presence messages?
Thanks in advance!

On Mar 31, 1:13 am, "stpeter" <[EMAIL PROTECTED]> wrote:
> On Mar 29, 9:56 am, "Dmitry" <[EMAIL PROTECTED]> wrote:
>
> > RFC-3921 says in 8.4.2: "5. The contact's server then (1) MUST send a
> > presence stanza of type "unsubscribed" to the user; and (2) SHOULD
> > send unavailable presence from all of the contact's available
> > resources to the user".
>
> That is the contact's server. In this scenario you are the user. So
> you would receive the roster push instead. (In this case you're both
> using the same server, i.e. gmail.com, but the same principles apply.)
>
>
>
> > Instead of that after
> > <presence to='[EMAIL PROTECTED]' type='unsubscribe'/>
>
> > I get just two subsequent roster's notifications:
>
> > <iq to='[EMAIL PROTECTED]/10B53A7A' id='9BEA5191' type='set'>
> >         <query gr:ext='2' xmlns='jabber:iq:roster' xmlns:gr='google:roster'>
> >                 <item jid='[EMAIL PROTECTED]' subscription='from'/>
> >         </query>
> > </iq>
>
> > <<<
> > <iq to='[EMAIL PROTECTED]/10B53A7A' id='9BEA519A' type='set'>
> >         <query gr:ext='2' xmlns='jabber:iq:roster' xmlns:gr='google:roster'>
> >                 <item jid='[EMAIL PROTECTED]' subscription='from' 
> > ask='subscribe'/>
> >         </query>
> > </iq>
>
> > As far as I understand the second <iq/> means that Google Talk force
> > the subscription back without any visible reasons.
>
> Yes, that's odd.
>
> > Does anyone could explain me such behavior?
>
> I can't. But it is inconsistent with RFC 3921.
>
> --stpeter


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-talk-open" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-talk-open?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to