mirror of
https://github.com/mastodon/mastodon.git
synced 2026-06-10 09:37:24 -05:00
Change media attachment limit to 10000 characters (#39306)
This commit is contained in:
parent
37a9048cdf
commit
c4ea89dfd9
|
|
@ -54,7 +54,8 @@ const messages = defineMessages({
|
|||
},
|
||||
});
|
||||
|
||||
const MAX_LENGTH = 1500;
|
||||
// TODO: use `description_limit` from the `/api/v2/instance` response
|
||||
const MAX_LENGTH = 10000;
|
||||
|
||||
type FocalPoint = [number, number];
|
||||
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ class MediaAttachment < ApplicationRecord
|
|||
|
||||
SHORTCODE_LENGTH = 19
|
||||
|
||||
MAX_DESCRIPTION_LENGTH = 1_500
|
||||
MAX_DESCRIPTION_LENGTH = 10_000
|
||||
MAX_DESCRIPTION_HARD_LENGTH_LIMIT = 10_000
|
||||
|
||||
IMAGE_LIMIT = 16.megabytes
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user