forked from Mirrors/elk
filter sensitive
This commit is contained in:
parent
d6a1969fb8
commit
9f1beaac05
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue