Fix filtering uris of fetchSubjects (#4324)
This commit is contained in:
@@ -145,7 +145,7 @@ async function fetchSubjects(
|
|||||||
): Promise<Map<string, AppBskyFeedDefs.PostView>> {
|
): Promise<Map<string, AppBskyFeedDefs.PostView>> {
|
||||||
const uris = new Set<string>()
|
const uris = new Set<string>()
|
||||||
for (const notif of groupedNotifs) {
|
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)
|
uris.add(notif.subjectUri)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user