[#1026] Filter.AnonymizeFilename added ability to retain file extension with custom text

This commit is contained in:
Maksim 2019-06-30 07:28:35 +00:00 committed by rinpatch
commit acd20f166b
5 changed files with 58 additions and 6 deletions

View file

@ -38,7 +38,7 @@ defmodule Pleroma.Config do
def put([parent_key | keys], value) do
parent =
Application.get_env(:pleroma, parent_key)
Application.get_env(:pleroma, parent_key, [])
|> put_in(keys, value)
Application.put_env(:pleroma, parent_key, parent)