Count observers correctly.
This commit is contained in:
parent
ef2a936b71
commit
0fca2f6323
|
@ -303,6 +303,8 @@ class Contacts:
|
||||||
# Transports group
|
# Transports group
|
||||||
if common.gajim.jid_is_transport(jid):
|
if common.gajim.jid_is_transport(jid):
|
||||||
contact_groups = [_('Transports')]
|
contact_groups = [_('Transports')]
|
||||||
|
if contact.is_observer():
|
||||||
|
contact_groups = [_('Observers')]
|
||||||
else:
|
else:
|
||||||
contact_groups = [_('General')]
|
contact_groups = [_('General')]
|
||||||
for group in groups:
|
for group in groups:
|
||||||
|
|
Loading…
Reference in New Issue