Always give local quote of remote posts a quote request URI (#35383)

This commit is contained in:
Claire 2025-07-15 15:01:03 +02:00 committed by David Roetzel
commit ee83f3a8b9
2 changed files with 6 additions and 2 deletions

View file

@ -7,7 +7,7 @@ class ActivityPub::QuoteRequestSerializer < ActivityPub::Serializer
attribute :virtual_object, key: :object
def id
object.activity_uri || [ActivityPub::TagManager.instance.uri_for(object.target_account), '#quote_requests/', object.id].join
object.activity_uri
end
def type