Changeset 9770
- Timestamp:
- 06/08/08 16:35:40 (6 months ago)
- Files:
-
- 1 modified
-
trunk/src/roster_window.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/roster_window.py
r9769 r9770 954 954 if contact.is_observer(): 955 955 groups = [_('Observers')] 956 elif not groups: 956 elif not groups and \ 957 not contact.jid == gajim.get_jid_from_account(account): 958 # no group, and not self contact 957 959 groups = [_('General')] 958 960 … … 1376 1378 for _acc in accounts: 1377 1379 for contact in gajim.contacts.iter_contacts(_acc): 1378 # Is this contact in this group ? 1380 # Is this contact in this group ? (last part of if check if it's 1381 # self contact) 1379 1382 if group in contact.groups or (group == _('General') and not \ 1380 contact.groups): 1383 contact.groups and \ 1384 not contact.jid == gajim.get_jid_from_account(account)): 1381 1385 if self.contact_is_visible(contact, _acc): 1382 1386 return True
