diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-11-18 21:03:32 -0600 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-11-18 21:03:32 -0600 |
commit | cfe8a3218addfd7e0cc82c6f0054572f3d8aa296 (patch) | |
tree | abe88187c10217321827913d2e21f6592659ea33 /app/serializers/activitypub/outbox_serializer.rb | |
parent | b767423188034031bc6c89f5a39f78687506a5ce (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.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 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 |