do not count not in roster contacts in online / total users. see #2801

This commit is contained in:
Yann Leboulanger 2006-12-26 13:33:09 +00:00
parent badf46a852
commit e8657b4fdb
1 changed files with 2 additions and 0 deletions

View File

@ -268,6 +268,8 @@ class Contacts:
# do not count transports
continue
contact = self.get_contact_with_highest_priority(account, jid)
if _('Not in roster') in contact.groups:
continue
in_groups = False
if groups == []:
in_groups = True