diff --git a/src/gajim.py b/src/gajim.py index 6e34c021f66b084f9685986bf557dd21dd0f5fbc..c49550f553cbb96371f3d147d11ed6344e6c31a9 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -531,7 +531,7 @@ class Interface: # Handle chat states contact = gajim.contacts.get_contact(account, jid, resource) - if isinstance(contact, list): + if contact and isinstance(contact, list): contact = contact[0] if contact: contact.composing_jep = composing_jep