config/description.exs: Update quarantine settings to tuples

This commit is contained in:
Ilja 2020-10-03 12:08:09 +02:00 committed by Haelwenn (lanodan) Monnier
parent b674ba658b
commit 64002e92ad
No known key found for this signature in database
GPG Key ID: D5B7A8E43C997DEE

View File

@ -687,12 +687,12 @@ config :pleroma, :config_description, [
}, },
%{ %{
key: :quarantined_instances, key: :quarantined_instances,
type: {:list, :string}, type: {:list, :tuple},
description: 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: [ suggestions: [
"quarantined.com", {"quarantined.com", "Reason"},
"*.quarantined.com" {"*.quarantined.com", "Reason"}
] ]
}, },
%{ %{