Display the body of unknown message types

pull/1/head
Mark Haines 2015-07-21 12:01:18 +01:00
parent 28022534f7
commit 3474f08334
1 changed files with 2 additions and 1 deletions

View File

@ -25,9 +25,10 @@ module.exports = React.createClass({
mixins: [UnknownMessageTileController], mixins: [UnknownMessageTileController],
render: function() { render: function() {
var content = this.props.mxEvent.getContent();
return ( return (
<span className="mx_UnknownMessageTile"> <span className="mx_UnknownMessageTile">
? {content.body}
</span> </span>
); );
}, },