diff options
author | Yoshihiro Sugi <sugi1982@gmail.com> | 2024-06-04 07:41:03 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-03 23:41:03 +0100 |
commit | 21d4d5f6009ead7729543c2e587ea88bdaa00a87 (patch) | |
tree | 2775c00b182391b141cc05c1da5810193f07f7d5 | |
parent | bda10510a479d0c9ce710b74249b0b7c47adf0c7 (diff) | |
download | voidsky-21d4d5f6009ead7729543c2e587ea88bdaa00a87.tar.zst |
Fix filtering uris of fetchSubjects (#4324)
-rw-r--r-- | src/state/queries/notifications/util.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state/queries/notifications/util.ts b/src/state/queries/notifications/util.ts index ebcdff686..466249353 100644 --- a/src/state/queries/notifications/util.ts +++ b/src/state/queries/notifications/util.ts @@ -145,7 +145,7 @@ async function fetchSubjects( ): Promise<Map<string, AppBskyFeedDefs.PostView>> { const uris = new Set<string>() for (const notif of groupedNotifs) { - if (notif.subjectUri && !notif.subjectUri.includes('feed.generator')) { + if (notif.subjectUri?.includes('app.bsky.feed.post')) { uris.add(notif.subjectUri) } } |