summaryrefslogtreecommitdiff
path: root/internal/config/config.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-02-23 19:28:09 +0100
committerLibravatar GitHub <noreply@github.com>2024-02-23 18:28:09 +0000
commit4b0eefbcc9c30f1f34092be89a83936ab9ca04ed (patch)
treeb6ee638a569b5cc9c6934fce268865d098a327c4 /internal/config/config.go
parent[bugfix] 2643 bug search for account url doesnt always work when redirected (... (diff)
downloadgotosocial-4b0eefbcc9c30f1f34092be89a83936ab9ca04ed.tar.xz
[chore] Increase default max image description to 1500 chars, collapse cw char count into status (#2682)
* [chore] Make default max image description 1500 chars, collapse cw char count into status * oops * tests
Diffstat (limited to 'internal/config/config.go')
-rw-r--r--internal/config/config.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/config/config.go b/internal/config/config.go
index 68c065852..a4cd83227 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -111,8 +111,7 @@ type Configuration struct {
StorageS3BucketName string `name:"storage-s3-bucket" usage:"Place blobs in this bucket"`
StorageS3Proxy bool `name:"storage-s3-proxy" usage:"Proxy S3 contents through GoToSocial instead of redirecting to a presigned URL"`
- StatusesMaxChars int `name:"statuses-max-chars" usage:"Max permitted characters for posted statuses"`
- StatusesCWMaxChars int `name:"statuses-cw-max-chars" usage:"Max permitted characters for content/spoiler warnings on statuses"`
+ StatusesMaxChars int `name:"statuses-max-chars" usage:"Max permitted characters for posted statuses, including content warning"`
StatusesPollMaxOptions int `name:"statuses-poll-max-options" usage:"Max amount of options permitted on a poll"`
StatusesPollOptionMaxChars int `name:"statuses-poll-option-max-chars" usage:"Max amount of characters for a poll option"`
StatusesMediaMaxFiles int `name:"statuses-media-max-files" usage:"Maximum number of media files/attachments per status"`