powered by Jive Software

2 issues with yahoo transport

after testing the yahoo transport i found 2 issues:

1.) contact deletion is not working. it seems the plugin did the correct job, but not the yahoo backend

2007.08.23 10:42:48 yahoo: contactUpdated 436763076977:notz99@yahoo.test.im

2007.08.23 10:42:48 Received presence packet: <presence from="436763076977@test.im" to="notz99@yahoo.test.im" type=“unsubscribe”/>

2007.08.23 10:42:48 yahoo: contactDeleted 436763076977:notz99@yahoo.test.im

2007.08.23 10:42:48 TransportBuddyManager: Triggering contact removal for

2007.08.23 10:42:48 Received iq packet: <iq type=“set” id=“27-2166” from="436763076977@test.im/kulemba-1.9.80-en" to="notz99@yahoo.test.im"><query xmlns=“jabber:iq:roster”><item jid="436763076977@test.im" subscription=“remove”/></query></iq>

2007.08.23 10:42:48 Unable to handle iq request: jabber:iq:roster

2007.08.23 10:42:48 yahoo: Sending packet: <iq type=“error” id=“27-2166” from="notz99@yahoo.test.im" to="436763076977@test.im/kulemba-1.9.80-en"><error code=“503” type=“cancel”><service-unavailable xmlns=“urn:ietf:params:xml:ns:xmpp-stanzas”/></error></iq>

also i think it’s wrong to send an error on “jabber:iq:roster” -> remove request. it’s better to safely ignore that request.

2.) adding a contact didn’t hit a subscribe request on yahoo client side

adding a contact from openfire yahoo account i didn’t not receive a subscribtion request on my yahoo webmessenger.

if i add a contact on my yahoo webmessenger i get a subscribtion on my openfire yahoo account -> so this direction is working.

notz

GATE-325 on the inability to remove the contacts, but I disagree with the safely ignore of the request. IQ’s generally expect a response and I’m giving them a proper response based off the situation at hand. I would like to switch it to returning a success though. There’s little reason for me to not say it was a success. GATE-326

2.) adding a contact didn’t hit a subscribe request on yahoo client side

adding a contact from openfire yahoo account i didn’t not receive a subscribtion request on my yahoo webmessenger.

GATE-327 I’m almost positive I tested this. There are some scenarios I found where you are “already considered golden” with the other person and so they never are asked if it’s ok to be added. (but I might be confusing with MSN) I’ll look into it though.

notz wrote:

if i add a contact on my yahoo webmessenger i get a subscribtion on my openfire yahoo account -> so this direction is working.

notz

after testing the yahoo transport i found 2 issues:

1.) contact deletion is not working. it seems the plugin did the correct job, but not the yahoo backend

2007.08.23 10:42:48 yahoo: contactUpdated 436763076977:notz99@yahoo.test.im

2007.08.23 10:42:48 Received presence packet: <presence from="436763076977@test.im" to="notz99@yahoo.test.im" type=“unsubscribe”/>

2007.08.23 10:42:48 yahoo: contactDeleted 436763076977:notz99@yahoo.test.im

2007.08.23 10:42:48 TransportBuddyManager: Triggering contact removal for

2007.08.23 10:42:48 Received iq packet: <iq type=“set” id=“27-2166” from="436763076977@test.im/kulemba-1.9.80-en" to="notz99@yahoo.test.im"><query xmlns=“jabber:iq:roster”><item jid="436763076977@test.im" subscription=“remove”/></query></iq>

2007.08.23 10:42:48 Unable to handle iq request: jabber:iq:roster

2007.08.23 10:42:48 yahoo: Sending packet: <iq type=“error” id=“27-2166” from="notz99@yahoo.test.im" to="436763076977@test.im/kulemba-1.9.80-en"><error code=“503” type=“cancel”><service-unavailable xmlns=“urn:ietf:params:xml:ns:xmpp-stanzas”/></error></iq>

also i think it’s wrong to send an error on “jabber:iq:roster” -> remove request. it’s better to safely ignore that request.