From 776af99d1119863c179a6f7f948d382842fa1bea Mon Sep 17 00:00:00 2001 From: Yann Leboulanger <asterix@lagaule.org> Date: Wed, 14 Dec 2005 19:55:53 +0000 Subject: [PATCH] don't send active chatstate to non-active tab --- src/tabbed_chat_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tabbed_chat_window.py b/src/tabbed_chat_window.py index 58e5e2d276..f090ba9698 100644 --- a/src/tabbed_chat_window.py +++ b/src/tabbed_chat_window.py @@ -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': -- GitLab