Use isComposerEmpty for send button
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
50b0a78132
commit
35c0cb99d0
1 changed files with 1 additions and 1 deletions
|
@ -489,7 +489,7 @@ export default class MessageComposer extends React.Component {
|
|||
}
|
||||
}
|
||||
|
||||
if (this.state.showSendButton) {
|
||||
if (!this.state.isComposerEmpty) {
|
||||
controls.push(
|
||||
<SendButton onClick={this.sendMessage} />,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue