don't send active chatstate to non-active tab

This commit is contained in:
Yann Leboulanger 2005-12-14 19:55:53 +00:00
parent 52d881c972
commit 776af99d11
1 changed files with 1 additions and 1 deletions

View File

@ -545,7 +545,7 @@ class TabbedChatWindow(chat.Chat):
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':