mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 17:56:01 +03:00
use new rawDisplayName in AddressTile
This commit is contained in:
parent
1c1c31eafc
commit
2b9258d377
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue