Le Tuesday 07 July 2009, Bruno Bigras a écrit :
> With the jabber plugin, when adding a contact using gtalk, the vcard is
> only successfully fetch if we are already present in the gtalk user's own
> contact list.
>
> To reproduce :
> 1 - Add a gtalk contact (for the first time) from Kopete. His name will
> remain his email address. (updating the vcard can fix this) 2 - Delete the
> contact while keeping the authorization
> 3 - Add the gtalk contact again, his name will now be his real name
> (nickname)
>
> Here's the output of the XML console after step 1 (when it fail), look for
> code="503" at the line 37 : http://pastebin.ca/1487278
>
> Here's the output of the XML console after step 3, look for the FN tag  at
> the line 37 : http://pastebin.ca/1487275
>
> Delaying the call to slotGetTimedVCard() seem to fix the symptom. 

please set mVCardUpdateInProgress to true.
Otherwise the patch looks good, you can commit with the change.

> But maybe the real way should be to react to that 503 code.

the 503 code means cancel,  so we should abort the operation which is what we 
do. 

_______________________________________________
kopete-devel mailing list
kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel

Reply via email to