Profile settings should never show a disambiguated display name

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2020-06-04 09:50:19 +01:00
parent eccacb1bc7
commit 993a545cd2
1 changed files with 2 additions and 2 deletions

View File

@ -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,