From ab3beb37b36d09561800f920c6ffe188b1c75f29 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Tue, 19 Jul 2005 23:06:20 +0000 Subject: [PATCH] inactive -> composing also not valid --- src/tabbed_chat_window.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/tabbed_chat_window.py b/src/tabbed_chat_window.py index 513fd12ff..a7bd6ee38 100644 --- a/src/tabbed_chat_window.py +++ b/src/tabbed_chat_window.py @@ -453,7 +453,11 @@ class TabbedChatWindow(chat.Chat): # if we're inactive prevent paused (inactive is stronger) if self.chatstates[jid] == = 'inactive' and state == 'paused': - return True + return + + # if we're inactive prevent paused (inactive is stronger) + if self.chatstates[jid] == = 'inactive' and state == 'composing': + return self.chatstates[jid] = state gajim.connections[self.account].send_message(jid, None, None,