about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-11-19 14:37:45 -0600
committerFire Demon <firedemon@creature.cafe>2020-11-19 14:37:45 -0600
commit3ee4deea65835546e0cc716f305e84a5994ba44c (patch)
tree86c4122aba8311ac83ebaebdf9bb32983f5dc378
parentcc824f5f760e70f8128deffc1d9814cfc8dd06b4 (diff)
Allow inlining of objects in outbox
-rw-r--r--app/serializers/activitypub/outbox_serializer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/activitypub/outbox_serializer.rb b/app/serializers/activitypub/outbox_serializer.rb
index 4de619efc..b59dd643b 100644
--- a/app/serializers/activitypub/outbox_serializer.rb
+++ b/app/serializers/activitypub/outbox_serializer.rb
@@ -10,6 +10,6 @@ class ActivityPub::OutboxSerializer < ActivityPub::CollectionSerializer
   end
 
   def items
-    object.items.map { |status| ActivityPub::ActivityPresenter.from_status(status, instance_options[:domain]) }
+    object.items.map { |status| ActivityPub::ActivityPresenter.from_status(status, instance_options[:domain], embed: true) }
   end
 end