Support 5 or more media_attachments from activitypub
This commit is contained in:
parent
21899ccf3f
commit
1502668ee5
11 changed files with 41 additions and 13 deletions
|
@ -131,7 +131,7 @@ class ActivityPub::Activity::Create < ActivityPub::Activity
|
|||
searchability: searchability,
|
||||
thread: replied_to_status,
|
||||
conversation: conversation_from_uri(@object['conversation']),
|
||||
media_attachment_ids: process_attachments.take(4).map(&:id),
|
||||
media_attachment_ids: process_attachments.take(MediaAttachment::ACTIVITYPUB_STATUS_ATTACHMENT_MAX).map(&:id),
|
||||
poll: process_poll,
|
||||
}
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue