restrict to m.text for now
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
90f9badbf3
commit
665ddccb0d
4 changed files with 9 additions and 11 deletions
|
@ -853,6 +853,11 @@ export default class MessageComposerInput extends React.Component {
|
|||
dis.dispatch({
|
||||
action: 'message_sent',
|
||||
});
|
||||
// Once replies are not only for text, we can use message_sent for this
|
||||
dis.dispatch({
|
||||
action: 'reply_to_event',
|
||||
event: null,
|
||||
});
|
||||
}, (e) => onSendMessageFailed(e, this.props.room));
|
||||
|
||||
this.setState({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue