From 3ee4deea65835546e0cc716f305e84a5994ba44c Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Thu, 19 Nov 2020 14:37:45 -0600 Subject: Allow inlining of objects in outbox --- app/serializers/activitypub/outbox_serializer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit