From 9f1beaac05718c1d8d809a8a6ab65282a7f20ec4 Mon Sep 17 00:00:00 2001 From: Shinigami92 Date: Sat, 1 Apr 2023 16:22:50 +0200 Subject: [PATCH] filter sensitive --- composables/timeline.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/composables/timeline.ts b/composables/timeline.ts index c6e42e54..3f6b7b88 100644 --- a/composables/timeline.ts +++ b/composables/timeline.ts @@ -24,6 +24,9 @@ function removeFilteredItems(items: mastodon.v1.Status[], context: mastodon.v1.F if (item.account.bot && !bot) return false + if (item.sensitive && !sensitive) + return false + return true }