Do not send the composing chatstate if we are typing a command
This commit is contained in:
parent
138b17cdb3
commit
6f87306a7e
1 changed files with 1 additions and 1 deletions
|
@ -1172,7 +1172,7 @@ class ConversationTab(ChatTab, TabWithInfoWin):
|
||||||
msg['type'] = 'chat'
|
msg['type'] = 'chat'
|
||||||
msg['chat_state'] = 'active'
|
msg['chat_state'] = 'active'
|
||||||
msg.send()
|
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 = self.core.xmpp.make_message(self.get_name())
|
||||||
msg['type'] = 'chat'
|
msg['type'] = 'chat'
|
||||||
msg['chat_state'] = 'composing'
|
msg['chat_state'] = 'composing'
|
||||||
|
|
Loading…
Reference in a new issue