about summary refs log tree commit diff
path: root/app/services/activitypub
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/activitypub')
-rw-r--r--app/services/activitypub/fetch_collection_items_service.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/services/activitypub/fetch_collection_items_service.rb b/app/services/activitypub/fetch_collection_items_service.rb
index 2d990dbf5..5b93ea221 100644
--- a/app/services/activitypub/fetch_collection_items_service.rb
+++ b/app/services/activitypub/fetch_collection_items_service.rb
@@ -7,6 +7,8 @@ class ActivityPub::FetchCollectionItemsService < BaseService
     @account = account
     @allow_synchronous_requests = allow_synchronous_requests
 
+    return [] if ActivityPub::TagManager.instance.local_uri?(collection_or_uri)
+
     collection_items(collection_or_uri, page_limit, item_limit)
   end