You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
Profile settings should never show a disambiguated display name
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user