mirror of
https://github.com/versia-pub/server.git
synced 2026-03-12 21:39:15 +01:00
feat(api): 🚩 Add emoji shortcode size controls
This commit is contained in:
parent
cfefd56a55
commit
8796f694bc
8 changed files with 15 additions and 3 deletions
|
|
@ -165,6 +165,7 @@ max_media_size = 40_000_000
|
|||
max_media_attachments = 10
|
||||
max_media_description_size = 1000
|
||||
max_emoji_size = 1000000
|
||||
max_emoji_shortcode_size = 100
|
||||
max_emoji_description_size = 1000
|
||||
max_poll_options = 20
|
||||
max_poll_option_size = 500
|
||||
|
|
|
|||
|
|
@ -534,6 +534,10 @@
|
|||
"type": "integer",
|
||||
"default": 1000000
|
||||
},
|
||||
"max_emoji_shortcode_size": {
|
||||
"type": "integer",
|
||||
"default": 100
|
||||
},
|
||||
"max_emoji_description_size": {
|
||||
"type": "integer",
|
||||
"default": 1000
|
||||
|
|
@ -1873,6 +1877,7 @@
|
|||
"max_media_attachments": 10,
|
||||
"max_media_description_size": 1000,
|
||||
"max_emoji_size": 1000000,
|
||||
"max_emoji_shortcode_size": 100,
|
||||
"max_emoji_description_size": 1000,
|
||||
"max_poll_options": 20,
|
||||
"max_poll_option_size": 500,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue