You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
fix(EventTile): updated comment
This commit is contained in:
@@ -747,7 +747,8 @@ export default class EventTile extends React.Component {
|
|||||||
if (this.props.mxEvent.sender && avatarSize) {
|
if (this.props.mxEvent.sender && avatarSize) {
|
||||||
let member;
|
let member;
|
||||||
// set member to receiver (target) if it is a 3PID invite
|
// 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) {
|
if (this.props.mxEvent.getContent().third_party_invite) {
|
||||||
member = this.props.mxEvent.target;
|
member = this.props.mxEvent.target;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user