mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-06-01 00:18:07 +00:00
common_fixes: Set sensitive when #nsfw is present
This commit is contained in:
parent
b96c10766c
commit
420efb844f
|
@ -34,6 +34,7 @@ defmodule Pleroma.Web.ActivityPub.ObjectValidators.CommonFixes do
|
|||
|> cast_and_filter_recipients("bto", follower_collection)
|
||||
|> cast_and_filter_recipients("bcc", follower_collection)
|
||||
|> Transmogrifier.fix_implicit_addressing(follower_collection)
|
||||
|> Transmogrifier.set_sensitive()
|
||||
end
|
||||
|
||||
def fix_activity_addressing(activity, _meta) do
|
||||
|
|
Loading…
Reference in a new issue