From 21d4d5f6009ead7729543c2e587ea88bdaa00a87 Mon Sep 17 00:00:00 2001 From: Yoshihiro Sugi Date: Tue, 4 Jun 2024 07:41:03 +0900 Subject: [PATCH] Fix filtering uris of fetchSubjects (#4324) --- src/state/queries/notifications/util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/state/queries/notifications/util.ts b/src/state/queries/notifications/util.ts index ebcdff68..46624935 100644 --- a/src/state/queries/notifications/util.ts +++ b/src/state/queries/notifications/util.ts @@ -145,7 +145,7 @@ async function fetchSubjects( ): Promise> { const uris = new Set() 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) } }