diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-02-24 20:13:45 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-02-24 20:13:45 +0100 |
commit | 6f87306a7eca932e48b6fcc84f1cf5d5ba12fab5 (patch) | |
tree | bf93ea1fedde60ce7b267b998340b3d69e9d20a3 /src | |
parent | 138b17cdb35da9b31fbea9c61e4a0e5bcab8b87e (diff) | |
download | poezio-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')
-rw-r--r-- | src/tabs.py | 2 |
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' |