Merge branch 'mrf-docs-update' into 'develop'
authorlain <lain@soykaf.club>
Mon, 20 Apr 2020 12:57:45 +0000 (12:57 +0000)
committerlain <lain@soykaf.club>
Mon, 20 Apr 2020 12:57:45 +0000 (12:57 +0000)
Expand MRF SimplePolicy docs

See merge request pleroma/pleroma!2370

1  2 
docs/configuration/mrf.md

index 287416b2ac7de2b727ab3dc4a4a774f9818b3ed4,9f13c3d18758acc02d2a3e87332c2c6d3129a8ff..3fcae07616a9d5f94584f8049c3a48ad8a173031
@@@ -41,11 -41,14 +41,14 @@@ config :pleroma, :instance
  
  Once `SimplePolicy` is enabled, you can configure various groups in the `:mrf_simple` config object. These groups are:
  
- * `media_removal`: Servers in this group will have media stripped from incoming messages.
- * `media_nsfw`: Servers in this group will have the #nsfw tag and sensitive setting injected into incoming messages which contain media.
  * `reject`: Servers in this group will have their messages rejected.
- * `federated_timeline_removal`: Servers in this group will have their messages unlisted from the public timelines by flipping the `to` and `cc` fields.
+ * `accept`: If not empty, only messages from these instances will be accepted (whitelist federation).
+ * `media_nsfw`: Servers in this group will have the #nsfw tag and sensitive setting injected into incoming messages which contain media.
+ * `media_removal`: Servers in this group will have media stripped from incoming messages.
+ * `avatar_removal`: Avatars from these servers will be stripped from incoming messages.
+ * `banner_removal`: Banner images from these servers will be stripped from incoming messages.
  * `report_removal`: Servers in this group will have their reports (flags) rejected.
+ * `federated_timeline_removal`: Servers in this group will have their messages unlisted from the public timelines by flipping the `to` and `cc` fields.
  
  Servers should be configured as lists.
  
@@@ -113,7 -116,7 +116,7 @@@ defmodule Pleroma.Web.ActivityPub.MRF.R
  
    @impl true
    def describe do
 -    {:ok, %{mrf_sample: %{content: "new message content"}}}`
 +    {:ok, %{mrf_sample: %{content: "new message content"}}}
    end
  end
  ```