adjust to js-sdk changes of marking original event as replaced

This commit is contained in:
Bruno Windels 2019-05-15 11:49:43 +01:00
parent edc100163f
commit 5805a88ab9
8 changed files with 11 additions and 5 deletions

View file

@ -137,6 +137,7 @@ module.exports = React.createClass({
// exploit that events are immutable :)
return (nextProps.mxEvent.getId() !== this.props.mxEvent.getId() ||
nextProps.highlights !== this.props.highlights ||
nextProps.replacingEventId !== this.props.replacingEventId ||
nextProps.highlightLink !== this.props.highlightLink ||
nextProps.showUrlPreview !== this.props.showUrlPreview ||
nextState.links !== this.state.links ||