commit something to complete [7176]

This commit is contained in:
Nikos Kouremenos 2006-10-14 13:22:37 +00:00
parent dc1b4951b2
commit ca65a1a097
1 changed files with 3 additions and 9 deletions

View File

@ -228,16 +228,10 @@ class RosterWindow:
return
contact.groups = [_('Transports')]
# JEP-0162
hide = True
if contact.sub in ('both', 'to'):
hide = False
elif contact.ask == 'subscribe':
hide = False
elif contact.name or len(contact.groups):
hide = False
hide = contact.is_hidden_from_roster()
if hide and contact.sub != 'from':
return
observer = contact.is_observer()
if observer: