replace original event if there have been previous edits

pull/21833/head
Bruno Windels 2019-05-14 15:20:52 +01:00
parent 15df72e629
commit 45991bc3de
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ export default class MessageEditor extends React.Component {
"body": textSerialize(this.model),
"m.relates_to": {
"rel_type": "m.replace",
"event_id": this.props.event.getId(),
"event_id": this.props.event.getOriginalId(),
},
};
if (requiresHtml(this.model)) {