diff --git a/src/components/views/elements/ImageView.js b/src/components/views/elements/ImageView.js index db23e91b..91dbdc4a 100644 --- a/src/components/views/elements/ImageView.js +++ b/src/components/views/elements/ImageView.js @@ -72,7 +72,7 @@ module.exports = React.createClass({ if(this.props.name) { name = this.props.name; } else if(this.props.mxEvent) { - name = props.mxEvent.getContent().body; + name = this.props.mxEvent.getContent().body; } else { name = null; }