use new rawDisplayName in AddressTile

This commit is contained in:
Matthew Hodgson 2016-09-16 03:19:33 +01:00
parent 1c1c31eafc
commit 2b9258d377

View file

@ -56,7 +56,7 @@ module.exports = React.createClass({
let user = MatrixClientPeg.get().getUser(this.props.address);
if (user) {
userId = user.userId;
name = user.displayName || userId;
name = user.rawDisplayName || userId;
imgUrl = Avatar.avatarUrlForUser(user, 25, 25, "crop");
} else {
name=this.props.address;