diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-11-19 14:37:45 -0600 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-11-19 14:37:45 -0600 |
commit | 3ee4deea65835546e0cc716f305e84a5994ba44c (patch) | |
tree | 86c4122aba8311ac83ebaebdf9bb32983f5dc378 /app | |
parent | cc824f5f760e70f8128deffc1d9814cfc8dd06b4 (diff) |
Allow inlining of objects in outbox
Diffstat (limited to 'app')
-rw-r--r-- | app/serializers/activitypub/outbox_serializer.rb | 2 |
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 |