Change ActivityPub path generation to all happen in ActivityPub::TagManager (#33527)

This commit is contained in:
Claire 2025-01-13 10:39:05 +01:00 committed by GitHub
parent 53885b0fdb
commit d517fa5ab7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 82 additions and 27 deletions

View file

@ -38,6 +38,6 @@ class ActivityPub::AddSerializer < ActivityPub::Serializer
end
def target
account_collection_url(object.account, :featured)
ActivityPub::TagManager.instance.collection_uri_for(object.account, :featured)
end
end