{name}
{showOnlineTag && (
{t('Room.status_online')}
)}
{showHandlePart && (
{handle}
{e2eeChip}
)}
{showGroupSubline && (
{t('Room.members_count', {
count: memberCount,
formattedCount: memberCount,
})}
{e2eeChip}
)}
);
// For 1:1 rooms wrap the avatar AND title in a single button so a tap
// anywhere on the user identity (avatar, name, handle, online tag)
// opens the user-room-profile sheet — one tab stop, one focus
// outline, single popout anchor. Groups keep the avatar non-clickable
// and the title as a plain row.
const identityArea =
isOneOnOne && peerUserId ? (