about summary refs log tree commit diff
path: root/app/workers
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-11-18 22:10:15 -0600
committerFire Demon <firedemon@creature.cafe>2020-11-18 22:10:15 -0600
commit930f7145374adb79e92e9bdfcbc0d0044690b6c8 (patch)
tree6188688d3e48cd8a40fbe89adaf8db6bbf07d082 /app/workers
parentcfe8a3218addfd7e0cc82c6f0054572f3d8aa296 (diff)
Always use indirect federation
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/activitypub/distribution_worker.rb2
-rw-r--r--app/workers/activitypub/reply_distribution_worker.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/workers/activitypub/distribution_worker.rb b/app/workers/activitypub/distribution_worker.rb
index 948393c12..a8365ce8d 100644
--- a/app/workers/activitypub/distribution_worker.rb
+++ b/app/workers/activitypub/distribution_worker.rb
@@ -48,7 +48,7 @@ class ActivityPub::DistributionWorker
 
   def payload(inbox_url)
     domain = Addressable::URI.parse(inbox_url).normalized_host
-    @payload[domain] ||= Oj.dump(serialize_payload(ActivityPub::ActivityPresenter.from_status(@status, domain, update: true, embed: false), ActivityPub::ActivitySerializer, signer: @account, domain: domain))
+    @payload[domain] ||= Oj.dump(serialize_payload(ActivityPub::ActivityPresenter.from_status(@status, domain, update: true), ActivityPub::ActivitySerializer, signer: @account, domain: domain))
   end
 
   def relay!
diff --git a/app/workers/activitypub/reply_distribution_worker.rb b/app/workers/activitypub/reply_distribution_worker.rb
index 6b807e8bc..437a47a6e 100644
--- a/app/workers/activitypub/reply_distribution_worker.rb
+++ b/app/workers/activitypub/reply_distribution_worker.rb
@@ -32,6 +32,6 @@ class ActivityPub::ReplyDistributionWorker
 
   def payload(inbox_url)
     domain = Addressable::URI.parse(inbox_url).normalized_host
-    @payload[domain] ||= Oj.dump(serialize_payload(ActivityPub::ActivityPresenter.from_status(@status, domain, update: true, embed: false), ActivityPub::ActivitySerializer, signer: @status.account, domain: domain))
+    @payload[domain] ||= Oj.dump(serialize_payload(ActivityPub::ActivityPresenter.from_status(@status, domain, update: true), ActivityPub::ActivitySerializer, signer: @status.account, domain: domain))
   end
 end