You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
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:
@@ -867,7 +867,6 @@ export default class MessageComposerInput extends React.Component {
|
||||
}
|
||||
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.
|
||||
@@ -875,6 +874,8 @@ export default class MessageComposerInput extends React.Component {
|
||||
action: 'reply_to_event',
|
||||
event: null,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
this.client.sendMessage(this.props.room.roomId, content).done((res) => {
|
||||
dis.dispatch({
|
||||
|
||||
Reference in New Issue
Block a user