[sgala] Prevent TB

This commit is contained in:
Jean-Marie Traissard 2008-06-16 09:51:03 +00:00
parent c967351d36
commit 1712fee325
1 changed files with 1 additions and 1 deletions

View File

@ -1343,7 +1343,7 @@ class RosterWindow:
jid = data['jid']
account = data['account']
contact = gajim.contacts.get_first_contact_from_jid(account, jid)
if self.contact_is_visible(contact, account):
if contact and self.contact_is_visible(contact, account):
return True
return False
else: