mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-09 22:26:23 +02:00
use new rawDisplayName in AddressTile
This commit is contained in:
parent
1c1c31eafc
commit
2b9258d377
@ -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…
x
Reference in New Issue
Block a user