* fixed a bug when we have a groupchat minimized in the roster

This commit is contained in:
Anaël Verrier 2009-07-06 22:34:24 +02:00
parent 6c56dd173b
commit 23394732c2
1 changed files with 1 additions and 1 deletions

View File

@ -2494,7 +2494,7 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco,
gajim.logger.replace_roster(self.name, roster_version, roster)
if received_from_server:
for contact in gajim.contacts.iter_contacts(self.name):
if contact.jid not in roster:
if not contact.is_groupchat() and contact.jid not in roster:
self.dispatch('ROSTER_INFO', (self.name,
(contact.jid, None, None, None, ())))
for jid in roster: