fix NPE in EventTile

pull/21833/head
Matthew Hodgson 2016-09-12 17:29:10 +01:00
parent 97976939bd
commit 13eed6cd39
1 changed files with 1 additions and 1 deletions

View File

@ -478,7 +478,7 @@ module.exports = React.createClass({
<div className={classes}>
<div className="mx_EventTile_roomName">
<a href={ permalink }>
{ room.name }
{ room ? room.name : '' }
</a>
</div>
<div className="mx_EventTile_senderDetails">