filter sensitive

This commit is contained in:
Shinigami92 2023-04-01 16:22:50 +02:00
parent d6a1969fb8
commit 9f1beaac05

View file

@ -24,6 +24,9 @@ function removeFilteredItems(items: mastodon.v1.Status[], context: mastodon.v1.F
if (item.account.bot && !bot) if (item.account.bot && !bot)
return false return false
if (item.sensitive && !sensitive)
return false
return true return true
} }