about summary refs log tree commit diff
path: root/app/serializers/activitypub/outbox_serializer.rb
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-11-18 21:03:32 -0600
committerFire Demon <firedemon@creature.cafe>2020-11-18 21:03:32 -0600
commitcfe8a3218addfd7e0cc82c6f0054572f3d8aa296 (patch)
treeabe88187c10217321827913d2e21f6592659ea33 /app/serializers/activitypub/outbox_serializer.rb
parentb767423188034031bc6c89f5a39f78687506a5ce (diff)
Break up AP envelope addressing by domain
Diffstat (limited to 'app/serializers/activitypub/outbox_serializer.rb')
-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 2692a1c42..d1708cc36 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, embed: false) }
+    object.items.map { |status| ActivityPub::ActivityPresenter.from_status(status, instance_options[:domain], embed: false) }
   end
 end