about summary refs log tree commit diff
path: root/app/controllers/activitypub/collections_controller.rb
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-01-17 10:01:02 +0100
committerGitHub <noreply@github.com>2022-01-17 10:01:02 +0100
commit430d4427916b44e6a7c16db1899dfef2eec140fc (patch)
treee53417f50f9e4ab4b95bf0e9fbb18b0e00b0ce7e /app/controllers/activitypub/collections_controller.rb
parenta85912b0d6d2ee68aa35794fbb51c5358768c092 (diff)
parent77dd4ab8f5d09b128db1e0227b2afcf73d8531e7 (diff)
Merge pull request #1661 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/controllers/activitypub/collections_controller.rb')
-rw-r--r--app/controllers/activitypub/collections_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/activitypub/collections_controller.rb b/app/controllers/activitypub/collections_controller.rb
index 00f3d3cba..ac7ab8a0b 100644
--- a/app/controllers/activitypub/collections_controller.rb
+++ b/app/controllers/activitypub/collections_controller.rb
@@ -21,6 +21,7 @@ class ActivityPub::CollectionsController < ActivityPub::BaseController
     case params[:id]
     when 'featured'
       @items = for_signed_account { cache_collection(@account.pinned_statuses.not_local_only, Status) }
+      @items = @items.map { |item| item.distributable? ? item : ActivityPub::TagManager.instance.uri_for(item) }
     when 'tags'
       @items = for_signed_account { @account.featured_tags }
     when 'devices'