missing new contacts function

This commit is contained in:
Yann Leboulanger 2006-01-10 09:29:48 +00:00
parent 94564e4e4e
commit df3b7d7b80
1 changed files with 1 additions and 1 deletions

View File

@ -1330,7 +1330,7 @@ class ChatControl(ChatControlBase):
if (self.contact.show == 'offline' or self.contact.show == 'error'):
showOffline = gajim.config.get('showoffline')
if not showOffline and typ == 'chat' and \
len(gajim.contacts[self.account][jid]) == 1:
len(gajim.contacts.get_contact(self.account, jid)) == 1:
gajim.interface.roster.really_remove_contact(self.contact,
self.account)
elif typ == 'pm':