Ensure feeds with no posts don't show as NSFPublic
This commit is contained in:
@@ -409,6 +409,9 @@ export function* findAllPostsInQueryData(
|
||||
}
|
||||
|
||||
function assertSomePostsPassModeration(feed: AppBskyFeedDefs.FeedViewPost[]) {
|
||||
// no posts in this feed
|
||||
if (feed.length === 0) return true
|
||||
|
||||
// assume false
|
||||
let somePostsPassModeration = false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user