1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-11 20:22:36 +03:00

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;