show status icon when sub=to

This commit is contained in:
Yann Leboulanger 2005-09-07 16:16:31 +00:00
parent ee64aa72ee
commit b9edb2bd4a
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ class RosterWindow:
elif jid.find('@') <= 0: # if not '@' or '@' starts the jid ==> agent
img = state_images[contact.show]
else:
if contact.sub == 'both':
if contact.sub in ['both', 'to']:
img = state_images[contact.show]
else:
if contact.ask == 'subscribe':