fix: show last sender avatar in streams list

This commit is contained in:
talksik
2026-03-24 11:10:56 -07:00
parent 6f033e2a73
commit 83190727f8
@@ -132,8 +132,13 @@ function StreamRow({
return getInitials(otherEmail); return getInitials(otherEmail);
} }
} }
if (latestChild) {
return getInitials(latestChild.created_by_email);
}
return particle.properties.name.slice(0, 2).toUpperCase(); 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(() => { const isUnseen = useMemo(() => {
if (!latestChild) return false; if (!latestChild) return false;