From 0fca2f63231936e95d2fb3139cb338a46b20f513 Mon Sep 17 00:00:00 2001 From: Stephan Erb Date: Mon, 20 Aug 2007 20:31:17 +0000 Subject: [PATCH] Count observers correctly. --- src/common/contacts.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/contacts.py b/src/common/contacts.py index 9cb21b68e..b73ada26f 100644 --- a/src/common/contacts.py +++ b/src/common/contacts.py @@ -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: