Hide low wot replies

This commit is contained in:
Jon Staab 2024-06-21 14:20:22 -07:00
parent d7e808d977
commit b7f6d4b8be

View File

@ -114,7 +114,7 @@
$: reply = tags.parent() $: reply = tags.parent()
$: root = tags.root() $: root = tags.root()
$: muted = !showMuted && $isEventMuted(event, true) $: muted = !showMuted && $isEventMuted(event)
// Find children in our context // Find children in our context
$: children = context.filter(e => isChildOf(e, event)) $: children = context.filter(e => isChildOf(e, event))
@ -130,7 +130,7 @@
visibleReplies = [] visibleReplies = []
for (const e of replies) { for (const e of replies) {
if ($isEventMuted(e)) { if ($isEventMuted(e, true)) {
mutedReplies.push(e) mutedReplies.push(e)
} else if (collapsed) { } else if (collapsed) {
hiddenReplies.push(e) hiddenReplies.push(e)