diff --git a/src/components/views/rooms/RoomHeader.js b/src/components/views/rooms/RoomHeader.js index ce229620d7..e25b25d110 100644 --- a/src/components/views/rooms/RoomHeader.js +++ b/src/components/views/rooms/RoomHeader.js @@ -209,10 +209,15 @@ module.exports = React.createClass({ const topicElement =
{ topic }
; const avatarSize = 28; - const roomAvatar = ( - - ); + let roomAvatar; + if (this.props.room) { + roomAvatar = (); + } if (this.props.onSettingsClick) { settingsButton =