Fix filtering uris of fetchSubjects (#4324)

zio/stable
Yoshihiro Sugi 2024-06-04 07:41:03 +09:00 committed by GitHub
parent bda10510a4
commit 21d4d5f600
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}
}