From cf93d3af0ace59fa618a51537a77f7912e5f1610 Mon Sep 17 00:00:00 2001 From: tobi Date: Tue, 6 May 2025 09:58:47 +0000 Subject: [feature] Add `description_limit` to `/api/v2/instance`, increase default limit to 5k (#4140) Closes https://codeberg.org/superseriousbusiness/gotosocial/issues/4131 by adding `description_limit` to the `api/v2/instance` response. Also increases default sizes to default status length to allow people to more easily describe things like screenshots of text. Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4140 Co-authored-by: tobi Co-committed-by: tobi --- example/config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'example') diff --git a/example/config.yaml b/example/config.yaml index c2f9667c3..acabd4e22 100644 --- a/example/config.yaml +++ b/example/config.yaml @@ -580,9 +580,9 @@ media-remote-max-size: 40MiB media-description-min-chars: 0 # Int. Maximum amount of characters permitted in an image or video description. -# Examples: [1000, 1500, 3000] -# Default: 1500 -media-description-max-chars: 1500 +# Examples: [1000, 5000, 10000] +# Default: 5000 +media-description-max-chars: 5000 # Size. Max size in bytes of emojis uploaded to this instance via the admin API. # -- cgit v1.2.3