config/description.exs: Update quarantine settings to tuples
authorIlja <domainepublic@spectraltheorem.be>
Sat, 3 Oct 2020 10:08:09 +0000 (12:08 +0200)
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Fri, 6 Aug 2021 05:59:53 +0000 (07:59 +0200)
config/description.exs

index 934a62a6293d77479affb6649320045d13ab8e24..252aa63d89cd90bf9c7fcb410e8d2c05cde0df1e 100644 (file)
@@ -687,12 +687,12 @@ config :pleroma, :config_description, [
       },
       %{
         key: :quarantined_instances,
-        type: {:list, :string},
+        type: {:list, :tuple},
         description:
-          "List of ActivityPub instances where private (DMs, followers-only) activities will not be sent",
+          "List of ActivityPub instances where private (DMs, followers-only) activities will not be sent and the reason for doing so",
         suggestions: [
-          "quarantined.com",
-          "*.quarantined.com"
+          {"quarantined.com", "Reason"},
+          {"*.quarantined.com", "Reason"}
         ]
       },
       %{