quick and dirty RoomAvatarEvent

This commit is contained in:
Matthew Hodgson 2017-06-01 13:31:24 +01:00
parent d689d4e1fa
commit 00750b4686
7 changed files with 22 additions and 9 deletions

View file

@ -24,6 +24,11 @@ import sdk from '../../../index';
module.exports = React.createClass({
displayName: 'TextualEvent',
propTypes: {
/* the MatrixEvent to show */
mxEvent: React.PropTypes.object.isRequired,
},
render: function() {
const EmojiText = sdk.getComponent('elements.EmojiText');
var text = TextForEvent.textForEvent(this.props.mxEvent);