Merge pull request #4699 from matrix-org/t3chguy/fix-own-displayname
Profile settings should never show a disambiguated display name
This commit is contained in:
commit
4043989a25
1 changed files with 2 additions and 2 deletions
|
@ -40,8 +40,8 @@ export default class ProfileSettings extends React.Component {
|
||||||
if (avatarUrl) avatarUrl = client.mxcUrlToHttp(avatarUrl, 96, 96, 'crop', false);
|
if (avatarUrl) avatarUrl = client.mxcUrlToHttp(avatarUrl, 96, 96, 'crop', false);
|
||||||
this.state = {
|
this.state = {
|
||||||
userId: user.userId,
|
userId: user.userId,
|
||||||
originalDisplayName: user.displayName,
|
originalDisplayName: user.rawDisplayName,
|
||||||
displayName: user.displayName,
|
displayName: user.rawDisplayName,
|
||||||
originalAvatarUrl: avatarUrl,
|
originalAvatarUrl: avatarUrl,
|
||||||
avatarUrl: avatarUrl,
|
avatarUrl: avatarUrl,
|
||||||
avatarFile: null,
|
avatarFile: null,
|
||||||
|
|
Loading…
Reference in a new issue