mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Use effective filtering for feeds (#7736)

authored by

Eric Bailey and committed by
GitHub
99051f0a f45f9afa

+2 -2
+2 -2
src/state/queries/feed.ts
··· 330 330 if (moderationOpts) { 331 331 return res.data.feeds.filter(feed => { 332 332 const decision = moderateFeedGenerator(feed, moderationOpts) 333 - return !decision.ui('contentList').filter 333 + return !decision.ui('contentMedia').blur 334 334 }) 335 335 } 336 336 ··· 371 371 select(data) { 372 372 return data.filter(feed => { 373 373 const decision = moderateFeedGenerator(feed, moderationOpts!) 374 - return !decision.ui('contentList').filter 374 + return !decision.ui('contentMedia').blur 375 375 }) 376 376 }, 377 377 })