set chatstate active when we send a message with body

This commit is contained in:
Nikos Kouremenos 2005-08-07 23:34:02 +00:00
parent f01d93cb8c
commit e04cc5add5
1 changed files with 1 additions and 0 deletions

View File

@ -634,6 +634,7 @@ class TabbedChatWindow(chat.Chat):
elif contact.chatstate is not False:
#send active chatstate on every message (as JEP says)
chatstate_to_send = 'active'
contact.chatstate = 'active'
gajim.connections[self.account].send_message(jid, message, keyID,
chatstate = chatstate_to_send)