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/ostatus/activity/creation.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/lib/ostatus') diff --git a/app/lib/ostatus/activity/creation.rb b/app/lib/ostatus/activity/creation.rb index 3840c8fbf..8dd066cb9 100644 --- a/app/lib/ostatus/activity/creation.rb +++ b/app/lib/ostatus/activity/creation.rb @@ -31,7 +31,7 @@ class OStatus::Activity::Creation < OStatus::Activity::Base # Skip if the reblogged status is not public return if cached_reblog && !(cached_reblog.public_visibility? || cached_reblog.unlisted_visibility?) - media_attachments = save_media.take(4) + media_attachments = save_media.take(6) ApplicationRecord.transaction do status = Status.create!( -- cgit