Make an invalid mx user an unknown user AddressTile

This commit is contained in:
wmwragg 2016-09-12 17:15:56 +01:00
parent 44b8c29c84
commit 95d9df7534

View file

@ -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;