fix(EventTile): commited suggestions
This commit is contained in:
parent
5e239690da
commit
8386e50240
1 changed files with 4 additions and 4 deletions
|
@ -747,7 +747,7 @@ 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 show
|
// so that the correct avatar is shown
|
||||||
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 {
|
||||||
|
|
Loading…
Reference in a new issue