Display the body of unknown message types

This commit is contained in:
Mark Haines 2015-07-21 12:01:18 +01:00
parent 28022534f7
commit 3474f08334

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>
); );
}, },