From 83190727f89c139ddc72385d55221ace5fb90210 Mon Sep 17 00:00:00 2001 From: talksik Date: Tue, 24 Mar 2026 11:10:56 -0700 Subject: [PATCH] fix: show last sender avatar in streams list --- js/src/features/particles/particle-list-view.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/js/src/features/particles/particle-list-view.tsx b/js/src/features/particles/particle-list-view.tsx index c39a03f..eb8a3a9 100644 --- a/js/src/features/particles/particle-list-view.tsx +++ b/js/src/features/particles/particle-list-view.tsx @@ -132,8 +132,13 @@ function StreamRow({ return getInitials(otherEmail); } } + + if (latestChild) { + return getInitials(latestChild.created_by_email); + } + return particle.properties.name.slice(0, 2).toUpperCase(); - }, [isDM, particle.visible_to, particle.properties.name, userEmail]); + }, [isDM, particle.visible_to, particle.properties.name, userEmail, latestChild]); const isUnseen = useMemo(() => { if (!latestChild) return false;