From a26280b31a58e958cce3575a0917d1036290479b Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Thu, 8 Sep 2022 12:36:42 +0200 Subject: [bugfix] Fix preposterous characters reserved per URL amount (#809) * clarify docs * tidy up consts, set reserved chars much lower * update tests --- internal/api/model/instance.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/api/model') diff --git a/internal/api/model/instance.go b/internal/api/model/instance.go index 721bb8fce..aec42f8b1 100644 --- a/internal/api/model/instance.go +++ b/internal/api/model/instance.go @@ -111,9 +111,9 @@ type InstanceConfigurationStatuses struct { // // example: 4 MaxMediaAttachments int `json:"max_media_attachments"` - // Amount of characters that a URL will be compressed to. + // Amount of characters clients should assume a url takes up. // - // example: 999 + // example: 25 CharactersReservedPerURL int `json:"characters_reserved_per_url"` } -- cgit v1.2.3