Interpret 'hide' setting as ALWAYS hiding from thread replies (#4263)
This commit is contained in:
parent
5fe1e171f0
commit
e48f8e15eb
3 changed files with 8 additions and 4 deletions
|
@ -543,9 +543,9 @@ function* flattenThreadReplies(
|
|||
// handle blurred items
|
||||
if (node.ctx.depth > 0) {
|
||||
const modui = modCache.get(node)?.ui('contentList')
|
||||
if (modui?.blur) {
|
||||
if (modui?.blur || modui?.filter) {
|
||||
if (!showHiddenReplies || node.ctx.depth > 1) {
|
||||
if (modui.blurs[0].type === 'muted') {
|
||||
if ((modui.blurs[0] || modui.filters[0]).type === 'muted') {
|
||||
return HiddenReplyType.Muted
|
||||
}
|
||||
return HiddenReplyType.Hidden
|
||||
|
|
|
@ -430,7 +430,8 @@ let PostThreadItemLoaded = ({
|
|||
? {marginRight: 4}
|
||||
: {marginLeft: 2, marginRight: 2}
|
||||
}
|
||||
profile={post.author}>
|
||||
profile={post.author}
|
||||
interpretFilterAsBlur>
|
||||
<View
|
||||
style={{
|
||||
flexDirection: 'row',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue