Revert "Partially restore immutable event objects at the rendering layer"
This commit is contained in:
parent
2c66adcb0e
commit
9344adb2d2
2 changed files with 50 additions and 77 deletions
|
@ -263,8 +263,7 @@ export default class TextualBody extends React.Component {
|
|||
//console.info("shouldComponentUpdate: ShowUrlPreview for %s is %s", this.props.mxEvent.getId(), this.props.showUrlPreview);
|
||||
|
||||
// exploit that events are immutable :)
|
||||
return (nextProps.mxEvent !== this.props.mxEvent ||
|
||||
nextProps.mxEvent.getId() !== this.props.mxEvent.getId() ||
|
||||
return (nextProps.mxEvent.getId() !== this.props.mxEvent.getId() ||
|
||||
nextProps.highlights !== this.props.highlights ||
|
||||
nextProps.replacingEventId !== this.props.replacingEventId ||
|
||||
nextProps.highlightLink !== this.props.highlightLink ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue