summaryrefslogtreecommitdiff
path: root/src/tabs.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-02-24 20:13:45 +0100
committerFlorent Le Coz <louiz@louiz.org>2011-02-24 20:13:45 +0100
commit6f87306a7eca932e48b6fcc84f1cf5d5ba12fab5 (patch)
treebf93ea1fedde60ce7b267b998340b3d69e9d20a3 /src/tabs.py
parent138b17cdb35da9b31fbea9c61e4a0e5bcab8b87e (diff)
downloadpoezio-6f87306a7eca932e48b6fcc84f1cf5d5ba12fab5.tar.gz
poezio-6f87306a7eca932e48b6fcc84f1cf5d5ba12fab5.tar.bz2
poezio-6f87306a7eca932e48b6fcc84f1cf5d5ba12fab5.tar.xz
poezio-6f87306a7eca932e48b6fcc84f1cf5d5ba12fab5.zip
Do not send the composing chatstate if we are typing a command
Diffstat (limited to 'src/tabs.py')
-rw-r--r--src/tabs.py2
1 files changed, 1 insertions, 1 deletions
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'