atom keys with leading :

This commit is contained in:
Alex S 2019-07-15 11:00:55 +03:00
commit c66044b923
3 changed files with 47 additions and 8 deletions

View file

@ -35,7 +35,7 @@ defmodule Pleroma.Config.TransferTask do
if String.starts_with?(setting.key, "Pleroma.") do
"Elixir." <> setting.key
else
setting.key
String.trim_leading(setting.key, ":")
end
group = String.to_existing_atom(setting.group)