Blocks: add blockers_visible config
authorAlex Gleason <alex@alexgleason.me>
Sat, 10 Oct 2020 06:29:41 +0000 (01:29 -0500)
committerAlex Gleason <alex@alexgleason.me>
Sat, 10 Oct 2020 06:58:57 +0000 (01:58 -0500)
config/config.exs
config/description.exs

index d53663d360154a9c2b94c4b841ef1fad1e76cf3f..befc6840db4d6f89f5bfaca2a4afcb22bf87336b 100644 (file)
@@ -363,6 +363,7 @@ config :pleroma, :manifest,
 config :pleroma, :activitypub,
   unfollow_blocked: true,
   outgoing_blocks: true,
+  blockers_visible: true,
   follow_handshake_timeout: 500,
   note_replies_output_limit: 5,
   sign_object_fetches: true,
index 3902b96323f9de47c940b1897c7433e8aeb737d0..4f495e828324cbb621d368fbd75debd8b366019e 100644 (file)
@@ -2092,6 +2092,11 @@ config :pleroma, :config_description, [
         type: :boolean,
         description: "Whether to federate blocks to other instances"
       },
+      %{
+        key: :blockers_visible,
+        type: :boolean,
+        description: "Whether a user can see someone who has blocked them"
+      },
       %{
         key: :sign_object_fetches,
         type: :boolean,