From 71302f6dec5bba30f9175052d56c4ec43cd7bdfb Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Thu, 18 Apr 2019 15:08:55 -0500 Subject: Handle up to 6 attachments per roar. --- app/lib/activitypub/activity/create.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/lib/activitypub') diff --git a/app/lib/activitypub/activity/create.rb b/app/lib/activitypub/activity/create.rb index 6b16c9986..62b8986a4 100644 --- a/app/lib/activitypub/activity/create.rb +++ b/app/lib/activitypub/activity/create.rb @@ -67,7 +67,7 @@ class ActivityPub::Activity::Create < ActivityPub::Activity visibility: visibility_from_audience, 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(6).map(&:id), poll: process_poll, } end -- cgit