mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
fix(EventTile): updated comment
This commit is contained in:
parent
8386e50240
commit
cb3b8b6c77
1 changed files with 2 additions and 1 deletions
|
@ -747,7 +747,8 @@ 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 shown
|
||||
// so that the correct avatar is shown as the text is
|
||||
// `$target accepted the invitation for $email`
|
||||
if (this.props.mxEvent.getContent().third_party_invite) {
|
||||
member = this.props.mxEvent.target;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue