only clear reply_to_event if there was one to begin with
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
871fee26f8
commit
f765db7d16
1 changed files with 7 additions and 6 deletions
|
@ -867,14 +867,15 @@ export default class MessageComposerInput extends React.Component {
|
||||||
}
|
}
|
||||||
content.body = nestedReply.body + content.body;
|
content.body = nestedReply.body + content.body;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Clear reply_to_event as we put the message into the queue
|
||||||
|
// if the send fails, retry will handle resending.
|
||||||
|
dis.dispatch({
|
||||||
|
action: 'reply_to_event',
|
||||||
|
event: null,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// Clear reply_to_event as we put the message into the queue
|
|
||||||
// if the send fails, retry will handle resending.
|
|
||||||
dis.dispatch({
|
|
||||||
action: 'reply_to_event',
|
|
||||||
event: null,
|
|
||||||
});
|
|
||||||
|
|
||||||
this.client.sendMessage(this.props.room.roomId, content).done((res) => {
|
this.client.sendMessage(this.props.room.roomId, content).done((res) => {
|
||||||
dis.dispatch({
|
dis.dispatch({
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue