Fixes follow buttons inside notification bundles not changing state on follow (#10882)

This commit is contained in:
Alex Benzer
2026-06-12 11:18:53 -07:00
committed by GitHub
parent ec695a42c5
commit 581d2b296d
+8 -5
View File
@@ -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
) {