Pleroma v1.0.0-641-g7ab2dbbd Pleroma.Web.ActivityPub.MRF.TagPolicy View Source

Apply policies based on user tags

This policy applies policies on a user activities depending on their tags on your instance.

  • mrf_tag:media-force-nsfw: Mark as sensitive on presence of attachments
  • mrf_tag:media-strip: Remove attachments
  • mrf_tag:force-unlisted: Mark as unlisted (removes from the federated timeline)
  • mrf_tag:sandbox: Remove from public (local and federated) timelines
  • mrf_tag:disable-remote-subscription: Reject non-local follow requests
  • mrf_tag:disable-any-subscription: Reject any follow requests

Link to this section Summary

Link to this section Functions

Link to this function

filter_message(actor, message) View Source