message: fix(EventTile): conditionally added avatar
diff: @@ -745,6 +745,17 @@ export default class EventTile extends React.Component {
  }
  if (this.props.mxEvent.sender && avatarSize) {
  + if(this.props.mxEvent.getType()==='m.room.third_party_invite') {
  + avatar = (
  + <div className="mx_EventTile_avatar">
  + <MemberAvatar member={this.props.mxEvent.target}
  + width={avatarSize} height={avatarSize}
  + viewUserOnClick={true}
  + />
  + </div>
  + );
  + }
  + else {
  avatar = (
  <div className="mx_EventTile_avatar">
  <MemberAvatar member={this.props.mxEvent.sender}
  @@ -754,6 +765,7 @@ export default class EventTile extends React.Component {
  </div>
  );
  }
  + }
  if (needsSenderProfile) {
  let text = null;
  