[sgala] Prevent TB
This commit is contained in:
parent
c967351d36
commit
1712fee325
|
@ -1343,7 +1343,7 @@ class RosterWindow:
|
||||||
jid = data['jid']
|
jid = data['jid']
|
||||||
account = data['account']
|
account = data['account']
|
||||||
contact = gajim.contacts.get_first_contact_from_jid(account, jid)
|
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 True
|
||||||
return False
|
return False
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue