do not count not in roster contacts in online / total users. see #2801
This commit is contained in:
parent
badf46a852
commit
e8657b4fdb
1 changed files with 2 additions and 0 deletions
|
@ -268,6 +268,8 @@ class Contacts:
|
||||||
# do not count transports
|
# do not count transports
|
||||||
continue
|
continue
|
||||||
contact = self.get_contact_with_highest_priority(account, jid)
|
contact = self.get_contact_with_highest_priority(account, jid)
|
||||||
|
if _('Not in roster') in contact.groups:
|
||||||
|
continue
|
||||||
in_groups = False
|
in_groups = False
|
||||||
if groups == []:
|
if groups == []:
|
||||||
in_groups = True
|
in_groups = True
|
||||||
|
|
Loading…
Add table
Reference in a new issue