Skip to content

Commit

Permalink
Add "You" indication in sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
abhipatel0211 committed Jan 28, 2024
1 parent 75ad089 commit 0554f5e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ function SideBarItemTemplateWithData({
!selected && sidebar.toggle();
}}
aria-label={title}
title={title}
title={((((room.uids)?.length ?? 0) > 1) && room.uids) ? (title) : (room.t == "d" ? (title + " (You)") : title)}
time={lastMessage?.ts}
subtitle={subtitle}
icon={icon}
Expand Down

0 comments on commit 0554f5e

Please sign in to comment.