| Issue 167: | Handling presence without 'show' and with show='chat' | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Transport seems not to set text status, when presence contains no 'show' tag: <presence xml:lang='ru'><priority>8</priority><status>lalala</status><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http:// tkabber.jabber.ru/' ver='bakV98EQ65x8UmvjcPuG3q/LyTs='/></presence> <presence from='icq.jabber.justlan.ru' to='yegord@jabber.ru/home'/> If we add 'show': <presence xml:lang='ru'><show>available</show><priority>8</ priority><status>lalala</status><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://tkabber.jabber.ru/' ver='bakV98EQ65x8UmvjcPuG3q/ LyTs='/></presence> <presence from='icq.jabber.justlan.ru' to='yegord@jabber.ru/ home'><show>available</show><status>lalala</status></presence> Also, I can't set my status to 'chat' in transport. <presence xml:lang='ru'><show>chat</show><priority>8</ priority><status>Свободен для разговора</status><c xmlns='http:// jabber.org/protocol/caps' hash='sha-1' node='http://tkabber.jabber.ru/' ver='bakV98EQ65x8UmvjcPuG3q/LyTs='/></presence> <presence from='icq.jabber.justlan.ru' to='yegord@jabber.ru/home'/> setStatus in legacy/glue.py handles show==None and show=='chat' separately. May be this special handling is the cause. Version of pyicqt used is 0.8b - SVN r0. But, according to source code, the problem must present in latest version too.
Feb 20, 2009
(No comment was entered for this change.)
Status:
Fixed
|
Owner: r000nster