This commit is contained in:
Claire 2025-11-26 17:03:13 +00:00 committed by GitHub
commit f91e3b9780
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -253,7 +253,7 @@ class ActivityPub::NoteSerializer < ActivityPub::Serializer
include RoutingHelper
attributes :type, :media_type, :url, :name, :blurhash
attributes :type, :media_type, :url, :summary, :blurhash
attribute :focal_point, if: :focal_point?
attribute :width, if: :width?
attribute :height, if: :height?
@ -264,7 +264,7 @@ class ActivityPub::NoteSerializer < ActivityPub::Serializer
'Document'
end
def name
def summary
object.description
end