From e48f8e15eb24320b74be579eb414c36fed24149b Mon Sep 17 00:00:00 2001
From: Paul Frazee <pfrazee@gmail.com>
Date: Wed, 29 May 2024 21:34:47 -0700
Subject: Interpret 'hide' setting as ALWAYS hiding from thread replies (#4263)

---
 src/view/com/post-thread/PostThread.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/view/com/post-thread/PostThread.tsx')

diff --git a/src/view/com/post-thread/PostThread.tsx b/src/view/com/post-thread/PostThread.tsx
index 1212f992d..64ff9cb0f 100644
--- a/src/view/com/post-thread/PostThread.tsx
+++ b/src/view/com/post-thread/PostThread.tsx
@@ -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
-- 
cgit 1.4.1

