diff --git a/src/components/views/messages/MessageEvent.js b/src/components/views/messages/MessageEvent.js index 1313ce6b00..6dcc8de627 100644 --- a/src/components/views/messages/MessageEvent.js +++ b/src/components/views/messages/MessageEvent.js @@ -43,7 +43,7 @@ module.exports = React.createClass({ }, getEventTileOps: function() { - return this.refs.body ? this.refs.body.getEventTileOps() : null; + return this.refs.body && this.refs.body.getEventTileOps ? this.refs.body.getEventTileOps() : null; }, render: function() {