set chatstate active when we send a message with body
This commit is contained in:
parent
f01d93cb8c
commit
e04cc5add5
|
@ -634,6 +634,7 @@ class TabbedChatWindow(chat.Chat):
|
||||||
elif contact.chatstate is not False:
|
elif contact.chatstate is not False:
|
||||||
#send active chatstate on every message (as JEP says)
|
#send active chatstate on every message (as JEP says)
|
||||||
chatstate_to_send = 'active'
|
chatstate_to_send = 'active'
|
||||||
|
contact.chatstate = 'active'
|
||||||
|
|
||||||
gajim.connections[self.account].send_message(jid, message, keyID,
|
gajim.connections[self.account].send_message(jid, message, keyID,
|
||||||
chatstate = chatstate_to_send)
|
chatstate = chatstate_to_send)
|
||||||
|
|
Loading…
Reference in New Issue