Skip to content
Snippets Groups Projects
Commit 776af99d authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

don't send active chatstate to non-active tab

parent 52d881c9
No related branches found
No related tags found
No related merge requests found
......@@ -545,7 +545,7 @@ def check_for_possible_paused_chatstate(self, jid):
if self.kbd_activity_in_last_5_secs and message_buffer.get_char_count():
# Only composing if the keyboard activity was in text entry
self.send_chatstate('composing', jid)
elif self.mouse_over_in_last_5_secs:
elif self.mouse_over_in_last_5_secs and jid == self.get_active_jid():
self.send_chatstate('active', jid)
else:
if current_state == 'composing':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment