missing new contacts function
This commit is contained in:
parent
94564e4e4e
commit
df3b7d7b80
1 changed files with 1 additions and 1 deletions
|
@ -1330,7 +1330,7 @@ class ChatControl(ChatControlBase):
|
||||||
if (self.contact.show == 'offline' or self.contact.show == 'error'):
|
if (self.contact.show == 'offline' or self.contact.show == 'error'):
|
||||||
showOffline = gajim.config.get('showoffline')
|
showOffline = gajim.config.get('showoffline')
|
||||||
if not showOffline and typ == 'chat' and \
|
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,
|
gajim.interface.roster.really_remove_contact(self.contact,
|
||||||
self.account)
|
self.account)
|
||||||
elif typ == 'pm':
|
elif typ == 'pm':
|
||||||
|
|
Loading…
Add table
Reference in a new issue