From 6f87306a7eca932e48b6fcc84f1cf5d5ba12fab5 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Thu, 24 Feb 2011 20:13:45 +0100 Subject: Do not send the composing chatstate if we are typing a command --- src/tabs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/tabs.py b/src/tabs.py index 68501c7a..bf903310 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -1172,7 +1172,7 @@ class ConversationTab(ChatTab, TabWithInfoWin): msg['type'] = 'chat' msg['chat_state'] = 'active' msg.send() - elif self.input.get_text() and empty_before: + elif self.input.get_text() and empty_before and not self.input.get_text().startswith('/'): msg = self.core.xmpp.make_message(self.get_name()) msg['type'] = 'chat' msg['chat_state'] = 'composing' -- cgit v1.2.3