whitelist

This commit is contained in:
Moon Man 2020-03-23 01:07:40 +00:00
parent 5925f1b00f
commit 0e4cedc350
1 changed files with 4 additions and 3 deletions

View File

@ -6,9 +6,10 @@ complain about its functionality. Merge requests welcome. License is AGPL v3. If
you make changes, you have to share them. you make changes, you have to share them.
1. Add a line like: `config :pleroma, :emoji, shortcode_globs: ["/emoji/stolen/**/*.png", "/emoji/stolen/**/*.gif"]` to you whatever.secret.exs file. 1. Add a line like: `config :pleroma, :emoji, shortcode_globs: ["/emoji/stolen/**/*.png", "/emoji/stolen/**/*.gif"]` to you whatever.secret.exs file.
2. Create directory priv/static/emoji/stolen 2. optionally add a whitelist: `config :pleroma, :emoji_stealer, whitelist: [ "freespeechextremist.com", "shitposter.club" ]`
3. Make sure you actually add the MRF to your config 3. Create directory priv/static/emoji/stolen
4. Restart server 4. Make sure you actually add the MRF to your config
5. Restart server
You have to refresh your browser to see any new emoji in the picker You have to refresh your browser to see any new emoji in the picker