From 44f4dc772a46db31e23dc6bdc12f6962e6238ba0 Mon Sep 17 00:00:00 2001 From: talksik Date: Sat, 21 Mar 2026 11:46:26 -0700 Subject: [PATCH] fix: don't show seen by authed user --- js/src/features/particles/stream-view.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/src/features/particles/stream-view.tsx b/js/src/features/particles/stream-view.tsx index e05a473..41b8572 100644 --- a/js/src/features/particles/stream-view.tsx +++ b/js/src/features/particles/stream-view.tsx @@ -503,11 +503,12 @@ function ParticleBreadcrumbContent({ particle }: { particle: Particle }) { // Shows a list of avatars of users who have seen the current particle, based on playback markers in the stream particle. const SeenIndicator = ({ stream, currentParticle, networkId }: { stream: Particle & { type: "stream" }, currentParticle: Particle, networkId: string }) => { + const authedUser = useAuthStore((s) => s.user); const network = useNetwork(networkId); const playbackMarkers = stream.playback_markers ?? {}; const seenUserIds = Object.entries(playbackMarkers) - .filter(([_, timestamp]) => timestamp.getTime() >= currentParticle.created_at.getTime()) + .filter(([userId, timestamp]) => timestamp.getTime() >= currentParticle.created_at.getTime() && userId !== authedUser?.id) .map(([userId, _]) => userId); const seenUserEmails = seenUserIds