diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-07-16 15:07:20 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-08-30 05:41:03 -0500 |
commit | 78d33622a5b53a983e8d37777e8e56b9e3f3c29c (patch) | |
tree | 0e1b7f4f7fa521156ee5ea24bca79ccd5f6f7dca /app/workers/activitypub/distribution_worker.rb | |
parent | a3a7c6e0ec6a80ea1989176f15224b1a27916338 (diff) |
[Privacy] Federate references to objects than embedding them so that their permissions can be enforced on request
Diffstat (limited to 'app/workers/activitypub/distribution_worker.rb')
-rw-r--r-- | app/workers/activitypub/distribution_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/activitypub/distribution_worker.rb b/app/workers/activitypub/distribution_worker.rb index 7e28bc9eb..b0b1756d0 100644 --- a/app/workers/activitypub/distribution_worker.rb +++ b/app/workers/activitypub/distribution_worker.rb @@ -43,7 +43,7 @@ class ActivityPub::DistributionWorker end def payload - @payload ||= Oj.dump(serialize_payload(ActivityPub::ActivityPresenter.from_status(@status, update: true), ActivityPub::ActivitySerializer, signer: @account)) + @payload ||= Oj.dump(serialize_payload(ActivityPub::ActivityPresenter.from_status(@status, update: true, embed: false), ActivityPub::ActivitySerializer, signer: @account)) end def relay! |