about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/services/fetch_remote_status_service.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/services/fetch_remote_status_service.rb b/app/services/fetch_remote_status_service.rb
index c5e8c5d0f..19b2a28c8 100644
--- a/app/services/fetch_remote_status_service.rb
+++ b/app/services/fetch_remote_status_service.rb
@@ -2,6 +2,9 @@
 
 class FetchRemoteStatusService < BaseService
   def call(url, prefetched_body = nil, on_behalf_of = nil)
+    status = ActivityPub::TagManager.instance.uri_to_resource(url, Status)
+    return status if status.present?
+
     if prefetched_body.nil?
       resource_url, resource_options = FetchResourceService.new.call(url, on_behalf_of: on_behalf_of)
     else