fix TB when message from unknown contact
This commit is contained in:
parent
1d496233f8
commit
aacf9dd950
|
@ -531,7 +531,7 @@ class Interface:
|
||||||
|
|
||||||
# Handle chat states
|
# Handle chat states
|
||||||
contact = gajim.contacts.get_contact(account, jid, resource)
|
contact = gajim.contacts.get_contact(account, jid, resource)
|
||||||
if isinstance(contact, list):
|
if contact and isinstance(contact, list):
|
||||||
contact = contact[0]
|
contact = contact[0]
|
||||||
if contact:
|
if contact:
|
||||||
contact.composing_jep = composing_jep
|
contact.composing_jep = composing_jep
|
||||||
|
|
Loading…
Reference in New Issue