Fix some minor chat issues (#10332)

This commit is contained in:
DS Boyce
2026-04-22 10:18:01 -07:00
committed by Samuel Newman
parent a425e8e910
commit fe3a46b024
4 changed files with 15 additions and 6 deletions
+5 -2
View File
@@ -28,7 +28,10 @@ export function AvatarBubbles({
size = 'large',
}: Props) {
const {currentAccount} = useSession()
const profiles = allProfiles.filter(p => p.did !== currentAccount?.did)
const profiles =
allProfiles.length > 2
? allProfiles.filter(p => p.did !== currentAccount?.did)
: allProfiles
const containerSize =
typeof size === 'number'
? size
@@ -86,7 +89,7 @@ export function AvatarBubbles({
let avatars = (
<>
<AvatarBubble
profile={profiles[0] ?? allProfiles[0]}
profile={profiles[0]}
scale={p0}
size={76}
x={-2}