My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 167: Handling presence without 'show' and with show='chat'
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  r000ns...@gmail.com
Closed:  Feb 2009


 
Reported by yegor.de...@gmail.com, Feb 15, 2009
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 16, 2009
Project Member #1 r000ns...@gmail.com
Status text not always can be displayed in ICQ when status 'online' or 'chat'. But I
can enable it to handle these cases
Status: Accepted
Owner: r000nster
Feb 20, 2009
Project Member #2 r000ns...@gmail.com
(No comment was entered for this change.)
Status: Fixed

Powered by Google Project Hosting