Make default pack extensions configurable and default to png and gif

This commit is contained in:
rinpatch 2019-06-26 06:48:59 +03:00
commit 41e4752950
4 changed files with 7 additions and 2 deletions

View file

@ -99,6 +99,7 @@ config :pleroma, Pleroma.Uploaders.MDII,
config :pleroma, :emoji,
shortcode_globs: ["/emoji/custom/**/*.png"],
pack_extensions: [".png", ".gif"],
groups: [
# Put groups that have higher priority than defaults here. Example in `docs/config/custom_emoji.md`
Custom: ["/emoji/*.png", "/emoji/**/*.png"]