This commit is contained in:
Yann Leboulanger 2006-03-05 09:46:50 +00:00
parent 45ca90bbe1
commit 0c2ba59f98
1 changed files with 2 additions and 1 deletions

View File

@ -513,7 +513,8 @@ class Interface:
# Handle chat states # Handle chat states
contact = gajim.contacts.get_first_contact_from_jid(account, jid) contact = gajim.contacts.get_first_contact_from_jid(account, jid)
contact.composing_jep = composing_jep if contact:
contact.composing_jep = composing_jep
if chat_control and chat_control.type_id == message_control.TYPE_CHAT: if chat_control and chat_control.type_id == message_control.TYPE_CHAT:
if chatstate is not None: # he or she sent us reply, so he supports jep85 or jep22 if chatstate is not None: # he or she sent us reply, so he supports jep85 or jep22
contact.chatstate = chatstate contact.chatstate = chatstate