I implemented JEP-0172 in PyICQ (SVN) but after a recent couple of  
updates to the JEP, I believe I have some tweaking to do to how I use  
it.  I believe the manner in which I was using it is was explicitly  
changed.  =D  (or rather, clarified that it shouldn't be used that  
way)  So it goes..

Daniel

On Apr 29, 2006, at 7:12 AM, Pedro Melo wrote:

> Hi,
>
> JEP-0172, User nickname, is in the Last Call... I suppose that if  
> it gets through thats the one pymsnt and probably all other py*  
> transport will use, right?
>
> Best regards,
>
> On Apr 28, 2006, at 9:11 PM, Lars T. Mikkelsen wrote:
>
>> Hi Maarten,
>>
>> On Thu, Apr 27, 2006 at 08:47:24PM +0200, Maarten Fonville wrote:
>>> I suspect that the problem could be that the nickname field has been
>>> send after the fullname field and so the name will be empty(!)  
>>> and so
>>> the updateNickName method will use the JID user part for nickname.
>>
>> I checked the vCard sent by the Google Talk server, and it does in  
>> fact
>> not contain a <NICKNAME/> element. However, I agree that there  
>> might be
>> an issue if the vCard contains an empty <NICKNAME/> after an non- 
>> empty
>> <FN/>.
>>
>> I found a bug a couple of lines below the snippet you posted, that
>> prevents the nickname from being set properly in some cases. The
>> attached patch fixes the issue.
>>
>>> James, could you please fix this, I suspect that putting an "not  
>>> name
>>> and " part before the NICKNAME 'if' will do the trick
>>
>> By doing this we'll lose the priority of <NICKNAME/> over <FN/> if  
>> the
>> vCard contains an <FN/> after the <NICKNAME/>.
>>
>> Best regards,
>> Lars
>> <update-nickname.patch>
>> _______________________________________________
>> py-transports mailing list
>> [email protected]
>> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>
> --
> HIId: Pedro Melo
> SMTP: [EMAIL PROTECTED]
> XMPP: [EMAIL PROTECTED]
>
> _______________________________________________
> py-transports mailing list
> [email protected]
> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports

Reply via email to