From ad9d032f820b0dcc0426c5f8d159802fcc4977f9 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Mon, 4 Apr 2016 00:17:50 +0100 Subject: [PATCH] fix typo introduced in #1340 --- src/components/views/elements/ImageView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/elements/ImageView.js b/src/components/views/elements/ImageView.js index db23e91b8f..91dbdc4a11 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; }