diff --git a/src/components/views/rooms/EventTile.js b/src/components/views/rooms/EventTile.js index e2f037ceb9..0bd00ad051 100644 --- a/src/components/views/rooms/EventTile.js +++ b/src/components/views/rooms/EventTile.js @@ -747,11 +747,11 @@ export default class EventTile extends React.Component { if (this.props.mxEvent.sender && avatarSize) { let member; // set member to receiver (target) if it is a 3PID invite - // so that the correct avatar is show + // so that the correct avatar is shown if (this.props.mxEvent.getContent().third_party_invite) { - member=this.props.mxEvent.target; + member = this.props.mxEvent.target; } else { - member=this.props.mxEvent.sender; + member = this.props.mxEvent.sender; } avatar = (