From 8386e502407533571649eea375bdb750f7ea0529 Mon Sep 17 00:00:00 2001 From: Arsh Sharma Date: Thu, 26 Nov 2020 17:18:11 +0530 Subject: [PATCH] fix(EventTile): commited suggestions --- src/components/views/rooms/EventTile.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 = (
@@ -760,7 +760,7 @@ export default class EventTile extends React.Component { viewUserOnClick={true} />
- ); + ); } if (needsSenderProfile) {