commit something to complete [7176]
This commit is contained in:
parent
dc1b4951b2
commit
ca65a1a097
|
@ -228,16 +228,10 @@ class RosterWindow:
|
||||||
return
|
return
|
||||||
contact.groups = [_('Transports')]
|
contact.groups = [_('Transports')]
|
||||||
|
|
||||||
|
|
||||||
# JEP-0162
|
# JEP-0162
|
||||||
hide = True
|
hide = contact.is_hidden_from_roster()
|
||||||
if contact.sub in ('both', 'to'):
|
if hide and contact.sub != 'from':
|
||||||
hide = False
|
return
|
||||||
elif contact.ask == 'subscribe':
|
|
||||||
hide = False
|
|
||||||
elif contact.name or len(contact.groups):
|
|
||||||
hide = False
|
|
||||||
|
|
||||||
observer = contact.is_observer()
|
observer = contact.is_observer()
|
||||||
|
|
||||||
if observer:
|
if observer:
|
||||||
|
|
Loading…
Reference in New Issue