Skip to content
This repository was archived by the owner on Feb 11, 2026. It is now read-only.

Commit 2622697

Browse files
committed
feat(user menu): use full mxid as username title
1 parent 3386081 commit 2622697

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/structures/UserMenu.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -379,12 +379,12 @@ export default class UserMenu extends React.Component<IProps, IState> {
379379
return userId;
380380
}
381381

382-
const userIdentifierString = removeMatrixOrgSuffix(UserIdentifierCustomisations.getDisplayUserIdentifier(
382+
const userIdentifierString = UserIdentifierCustomisations.getDisplayUserIdentifier(
383383
MatrixClientPeg.safeGet().getSafeUserId(),
384384
{
385385
withDisplayName: true,
386386
},
387-
));
387+
);
388388

389389
return (
390390
<IconizedContextMenu {...position} onFinished={this.onCloseMenu} className="mx_UserMenu_contextMenu">
@@ -394,7 +394,7 @@ export default class UserMenu extends React.Component<IProps, IState> {
394394
{OwnProfileStore.instance.displayName}
395395
</span>
396396
<span className="mx_UserMenu_contextMenu_userId" title={userIdentifierString || ""}>
397-
{userIdentifierString}
397+
{removeMatrixOrgSuffix(userIdentifierString)}
398398
</span>
399399
</div>
400400

0 commit comments

Comments
 (0)