about summary refs log tree commit diff
path: root/app/lib/ostatus
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-03-19 01:51:19 +0100
committerGitHub <noreply@github.com>2018-03-19 01:51:19 +0100
commitf02411da404f730e3c05dc7dca1ac0f2d631315e (patch)
tree1d7138c183d536425c2f57682245bd2839eb0da8 /app/lib/ostatus
parenta568e3ca8e754b690224ae79e75aeb60efa49b78 (diff)
Ignore media validation when attaching to status during processing (#6822)
Fix #6821
Diffstat (limited to 'app/lib/ostatus')
-rw-r--r--app/lib/ostatus/activity/creation.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/ostatus/activity/creation.rb b/app/lib/ostatus/activity/creation.rb
index aa46267dc..6235127b2 100644
--- a/app/lib/ostatus/activity/creation.rb
+++ b/app/lib/ostatus/activity/creation.rb
@@ -45,7 +45,7 @@ class OStatus::Activity::Creation < OStatus::Activity::Base
         visibility: visibility_scope,
         conversation: find_or_create_conversation,
         thread: thread? ? find_status(thread.first) || find_activitypub_status(thread.first, thread.second) : nil,
-        media_attachments: media_attachments
+        media_attachment_ids: media_attachments.map(&:id)
       )
 
       save_mentions(status)