Count observers correctly.

This commit is contained in:
Stephan Erb 2007-08-20 20:31:17 +00:00
parent ef2a936b71
commit 0fca2f6323
1 changed files with 2 additions and 0 deletions

View File

@ -303,6 +303,8 @@ class Contacts:
# Transports group
if common.gajim.jid_is_transport(jid):
contact_groups = [_('Transports')]
if contact.is_observer():
contact_groups = [_('Observers')]
else:
contact_groups = [_('General')]
for group in groups: