Bug 11883

Summary: Removing a contact from subscribe and it comes back to remote-pending
Product: Telepathy Reporter: Xavier Claessens <xclaesse>
Component: gabbleAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED NOTOURBUG QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Xavier Claessens 2007-08-07 02:55:17 UTC
Here is an empathy bug that I suspect to come from gabble:

http://bugzilla.gnome.org/show_bug.cgi?id=464212
Comment 1 Will Thompson 2009-05-04 09:57:39 UTC
The GNOME bug talks about a Google Talk bug; there's some stuff in Gabble's roster code which seems to be working around Google Talk bugs. Is this still an issue?
Comment 2 Will Thompson 2009-05-19 07:24:05 UTC
I've just reproduced this; it looks like a Google Talk server bug. When we remove someone from subscribe, we send a <presence type="unsubscribe"/> correctly, and GTalk responds with an updated roster item, with subscription="from". But then it sends us another update with subscription="from" ask="subscribed" out of the blue.

The remote contact does not, in fact, get asked if we can subscribe again.

SEND:
-----------------------------------
<presence type="unsubscribe" to="XXX@gmail.com" id="15320294471"></presence>

-----------------------------------

RECV [251]:
-----------------------------------
<iq to="YYY@googlemail.com/Telepathy3710B4A5" id="5887D34E" type="set"><query gr:ext="2" xmlns="jabber:iq:roster" xmlns:gr="google:roster"><item jid="XXX@gmail.com" subscription="from" name="Will Thompson"><group>Me</group></item></query></iq>
-----------------------------------

SEND:
-----------------------------------
<iq type="result" id="5887D34E"></iq>

-----------------------------------

RECV [267]:
-----------------------------------
<iq to="YYY@googlemail.com/Telepathy3710B4A5" id="5887D36B" type="set"><query gr:ext="2" xmlns="jabber:iq:roster" xmlns:gr="google:roster"><item jid="XXX@gmail.com" subscription="from" ask="subscribe" name="Will Thompson"><group>Me</group></item></query></iq>
-----------------------------------

SEND:
-----------------------------------
<iq type="result" id="5887D36B"></iq>

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.