From cb25740961419b67367795c21de975503fcfa6a4 Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 20 Aug 2015 11:43:08 +0100 Subject: [PATCH] Fix exception when accepting room invites --- skins/base/views/molecules/EventAsTextTile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/skins/base/views/molecules/EventAsTextTile.js b/skins/base/views/molecules/EventAsTextTile.js index 4c04135f44..c22db0c4fb 100644 --- a/skins/base/views/molecules/EventAsTextTile.js +++ b/skins/base/views/molecules/EventAsTextTile.js @@ -34,10 +34,11 @@ module.exports = React.createClass({ if (text == null || text.length == 0) return null; var timestamp = this.props.last ? : null; + var avatar = this.props.mxEvent.sender ? : null; return (
- + { avatar }
{ timestamp }