summaryrefslogtreecommitdiff
path: root/docs/config.md
diff options
context:
space:
mode:
authorMaksim <parallel588@gmail.com>2019-06-30 07:28:35 +0000
committerrinpatch <rinpatch@sdf.org>2019-06-30 07:28:35 +0000
commitacd20f166b696254c6a632101d693d03416ad68d (patch)
treefb4946436adecf13ebe6d09b89359f1733796850 /docs/config.md
parent4a1c36e18f8c6c22e63a5ad996276cd2a2aeef81 (diff)
downloadpleroma-acd20f166b696254c6a632101d693d03416ad68d.tar.gz
pleroma-acd20f166b696254c6a632101d693d03416ad68d.zip
[#1026] Filter.AnonymizeFilename added ability to retain file extension with custom text
Diffstat (limited to 'docs/config.md')
-rw-r--r--docs/config.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/config.md b/docs/config.md
index feef43ba9..8afccb228 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -36,7 +36,7 @@ No specific configuration.
This filter replaces the filename (not the path) of an upload. For complete obfuscation, add
`Pleroma.Upload.Filter.Dedupe` before AnonymizeFilename.
-* `text`: Text to replace filenames in links. If empty, `{random}.extension` will be used.
+* `text`: Text to replace filenames in links. If empty, `{random}.extension` will be used. You can get the original filename extension by using `{extension}`, for example `custom-file-name.{extension}`.
## Pleroma.Emails.Mailer
* `adapter`: one of the mail adapters listed in [Swoosh readme](https://github.com/swoosh/swoosh#adapters), or `Swoosh.Adapters.Local` for in-memory mailbox.