Let the tile contents specify whether it requires a sender profile or not. Fixes #250.

This commit is contained in:
David Baker 2015-10-23 09:24:25 +01:00
parent 08270b26ee
commit 7c6fb36520
3 changed files with 15 additions and 7 deletions

View file

@ -28,6 +28,12 @@ module.exports = React.createClass({
displayName: 'MessageTile',
mixins: [MessageTileController],
statics: {
needsSenderProfile: function() {
return true;
}
},
render: function() {
var UnknownMessageTile = sdk.getComponent('molecules.UnknownMessageTile');