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
Make an invalid mx user an unknown user AddressTile
This commit is contained in:
@@ -58,6 +58,9 @@ module.exports = React.createClass({
|
||||
userId = user.userId;
|
||||
name = user.displayName || userId;
|
||||
imgUrl = Avatar.avatarUrlForUser(user, 25, 25, "crop");
|
||||
} else {
|
||||
name="Unknown";
|
||||
imgUrl = "img/icon-email-user.svg";
|
||||
}
|
||||
} else if (addrType === "email") {
|
||||
email = this.props.address;
|
||||
|
||||
Reference in New Issue
Block a user