mirror of https://github.com/vector-im/riot-web
Profile settings should never show a disambiguated display name
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
eccacb1bc7
commit
993a545cd2
|
@ -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 New Issue