fix TB when message from unknown contact

This commit is contained in:
Yann Leboulanger 2006-04-10 09:04:52 +00:00
parent 1d496233f8
commit aacf9dd950
1 changed files with 1 additions and 1 deletions

View File

@ -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