Filter muted words from all feeds
This commit is contained in:
@@ -255,6 +255,12 @@ export function usePostFeedQuery(
|
||||
slice.items[i].post.author.did !== ignoreFilterFor
|
||||
) {
|
||||
return undefined
|
||||
} else if (
|
||||
moderations[i]?.content.filter &&
|
||||
// @ts-ignore temporary extension
|
||||
moderations[i]?.content.cause?.type === 'muted-word'
|
||||
) {
|
||||
return undefined
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user