diff --git a/src/components/views/right_panel/UserInfo.tsx b/src/components/views/right_panel/UserInfo.tsx index 12a6a2a311..b862cc84d4 100644 --- a/src/components/views/right_panel/UserInfo.tsx +++ b/src/components/views/right_panel/UserInfo.tsx @@ -1494,7 +1494,7 @@ const UserInfoHeader: React.FC<{ e2eIcon = ; } - const displayName = member.name || member.displayname; + const displayName = member.rawDisplayName || member.displayname; return { avatarElement }