Fixes follow buttons inside notification bundles not changing state on follow (#10882)
This commit is contained in:
@@ -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
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user