about summary refs log tree commit diff
path: root/app/controllers/statuses_controller.rb
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/controllers/statuses_controller.rb
parentcfe8a3218addfd7e0cc82c6f0054572f3d8aa296 (diff)
Always use indirect federation
Diffstat (limited to 'app/controllers/statuses_controller.rb')
-rw-r--r--app/controllers/statuses_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/statuses_controller.rb b/app/controllers/statuses_controller.rb
index 596ce9b84..a3ba43d7b 100644
--- a/app/controllers/statuses_controller.rb
+++ b/app/controllers/statuses_controller.rb
@@ -46,7 +46,7 @@ class StatusesController < ApplicationController
 
   def activity
     expires_in 3.minutes, public: @status.distributable? && public_fetch_mode?
-    render_with_cache json: ActivityPub::ActivityPresenter.from_status(@status, current_account&.domain),
+    render_with_cache json: ActivityPub::ActivityPresenter.from_status(@status, current_account&.domain, embed: true),
                       content_type: 'application/activity+json',
                       serializer: ActivityPub::ActivitySerializer,
                       adapter: ActivityPub::Adapter,