show status icon when sub=to
This commit is contained in:
parent
ee64aa72ee
commit
b9edb2bd4a
|
@ -215,7 +215,7 @@ class RosterWindow:
|
||||||
elif jid.find('@') <= 0: # if not '@' or '@' starts the jid ==> agent
|
elif jid.find('@') <= 0: # if not '@' or '@' starts the jid ==> agent
|
||||||
img = state_images[contact.show]
|
img = state_images[contact.show]
|
||||||
else:
|
else:
|
||||||
if contact.sub == 'both':
|
if contact.sub in ['both', 'to']:
|
||||||
img = state_images[contact.show]
|
img = state_images[contact.show]
|
||||||
else:
|
else:
|
||||||
if contact.ask == 'subscribe':
|
if contact.ask == 'subscribe':
|
||||||
|
|
Loading…
Reference in New Issue