akkoma/config
Oneric 3b0714c4fd Fix SimplePolicy blocking account updates
This fixes an oversight in e99e2407f3
which added background_removal as a possible SimplePolicy setting.
However, it did _not_ add a default value to the base config and
as it turns out instance_list doesn’t handle unset options well.

In effect this caused federating instances with SimplePolicy enabled
but background_removal not explicitly configured to always trip up for
outgoing account updates in check_background_removal (and incoming
updates from Sharkey).
For added ""fun"" this error was able to block account updates made
e.g. via /api/v1/accounts/update_credentials.

Tests were unaffected since they explicitly override
all relevant config options.

Set a default to avoid all this
(note to self: don’t forget next time, baka!)
2024-02-17 03:10:05 +01:00
..
benchmark.exs Support elixir1.15 2023-08-03 17:44:09 +01:00
config.exs Fix SimplePolicy blocking account updates 2024-02-17 03:10:05 +01:00
custom_emoji.txt Ship with hehe 2023-03-27 10:03:12 +01:00
description.exs Support elixir1.15 2023-08-03 17:44:09 +01:00
dev.exs use puts instead warn 2021-07-27 21:01:41 +00:00
docker.exs Docker builds (#231) 2022-10-16 19:25:54 +00:00
dokku.exs Switch from the deprecated "use Mix.config" to "import Config" 2021-05-20 14:02:58 -05:00
prod.exs Switch from the deprecated "use Mix.config" to "import Config" 2021-05-20 14:02:58 -05:00
test.exs Support elixir1.15 2023-08-03 17:44:09 +01:00