Support 5 or more media_attachments from activitypub

This commit is contained in:
KMY 2023-04-07 20:26:52 +09:00
parent 21899ccf3f
commit 1502668ee5
11 changed files with 41 additions and 13 deletions

View file

@ -54,7 +54,7 @@ class REST::InstanceSerializer < ActiveModel::Serializer
statuses: {
max_characters: StatusLengthValidator::MAX_CHARS,
max_media_attachments: 4,
max_media_attachments: MediaAttachment::LOCAL_STATUS_ATTACHMENT_MAX,
characters_reserved_per_url: StatusLengthValidator::URL_PLACEHOLDER_CHARS,
},