Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Tweak ReadReceiptGroup to better handle disambiguation (#8402)
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy authored Apr 25, 2022
1 parent e0076c9 commit b2bebda
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/components/views/rooms/ReadReceiptGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ function ReadReceiptPerson({ userId, roomMember, ts, isTwelveHour, onAfterClick
label: (
<>
<div className="mx_Tooltip_title">
{ roomMember.name ?? userId }
{ roomMember.rawDisplayName ?? userId }
</div>
<div className="mx_Tooltip_sub">
{ userId }
Expand All @@ -212,15 +212,18 @@ function ReadReceiptPerson({ userId, roomMember, ts, isTwelveHour, onAfterClick
onMouseLeave={hideTooltip}
onFocus={showTooltip}
onBlur={hideTooltip}
onWheel={hideTooltip}>
onWheel={hideTooltip}
>
<MemberAvatar
member={roomMember}
fallbackUserId={userId}
width={24}
height={24}
aria-hidden="true"
aria-live="off"
resizeMethod="crop" />
resizeMethod="crop"
hideTitle
/>
<div className="mx_ReadReceiptGroup_name">
<p>{ roomMember.name }</p>
<p className="mx_ReadReceiptGroup_secondary">
Expand Down

0 comments on commit b2bebda

Please sign in to comment.