From 581d2b296d13fa37cdc735b538c9232b558fbe31 Mon Sep 17 00:00:00 2001 From: Alex Benzer Date: Fri, 12 Jun 2026 11:18:53 -0700 Subject: [PATCH] Fixes follow buttons inside notification bundles not changing state on follow (#10882) --- src/state/queries/notifications/feed.ts | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/state/queries/notifications/feed.ts b/src/state/queries/notifications/feed.ts index ca885107d8..cc24d3d0fc 100644 --- a/src/state/queries/notifications/feed.ts +++ b/src/state/queries/notifications/feed.ts @@ -319,12 +319,15 @@ export function* findAllProfilesInQueryData( } for (const page of queryData?.pages) { for (const item of page.items) { - if ( - (item.type === 'follow' || item.type === 'contact-match') && - item.notification.author.did === did - ) { + if (item.notification.author.did === did) { yield item.notification.author - } else if ( + } + for (const notification of item.additional ?? []) { + if (notification.author.did === did) { + yield notification.author + } + } + if ( item.type !== 'starterpack-joined' && item.subject?.author.did === did ) {