From 5955c4b5830bfa5f665f694cc908e990eea31750 Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 20 Aug 2015 11:39:28 +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 }