-- 
"The most addictive drug in the world is music."
     - The Lost Boyz

> [EMAIL PROTECTED] wrote:
>>> I am using most recent pyicqt + Twisted 2.5.
>>>
>>
>> pyicq-t 0.8a? Just asking because the most recent pyicq-t was released
>> very recently and therefore may not have been upgraded in package
>> repositories if you use one.
>>
> Yes, 8a :-)
>>
>>> [2007-06-09 05:18:46] INFO :: [EMAIL PROTECTED] :: Session ::
>>> sendPresence :: {'status': u'away.\n[Currently away]', 'show': 'xa',
>>> 'url': None, 'fro': '[EMAIL PROTECTED]', 'avatarHash': '',
>>> 'ptype': None, 'priority': None, 'to': u'[EMAIL PROTECTED]', 'nickname':
>>> 'abc', 'payload': [<twisted.words.xish.domish.Element object at
>>> 0x8415d0c>]} ::

The fact that the nickname is filled in here means that PyICQt is sending
the nickname back to the client.  Of course, it's up to the client to
decide what to do with that.  (there's no way PyICQt can directly modify
your roster to update the nickname in your actual roster)  Typically a
client will receive the nickname, adjust it on screen, and send a roster
update.

The relevant XEP is:
http://www.xmpp.org/extensions/xep-0172.html

Daniel

>>>
>>
>> Is the nickname literally as simple as 'abc'? Could it contain some
>> "weird" characters that pyicq-t isn't properly decoding? This might
>> explain why some names work and some don't.
>>
>> ~Chris
>>
>>
> Yes, in fact it is just alphanum. So no special chars or something.
>
> regards,
> Patrick
> _______________________________________________
> py-transports mailing list
> py-transports@blathersource.org
> http://lists.modevia.com/cgi-bin/mailman/listinfo/py-transports
>

_______________________________________________
py-transports mailing list
py-transports@blathersource.org
http://lists.modevia.com/cgi-bin/mailman/listinfo/py-transports

Reply via email to