Always send content for backwards-compatibility (#7844)

th-downstream
Eugen Rochko 6 years ago committed by GitHub
parent 8b2ab128a2
commit 549d2f3d42

@ -7,7 +7,7 @@ class ActivityPub::NoteSerializer < ActiveModel::Serializer
:atom_uri, :in_reply_to_atom_uri, :atom_uri, :in_reply_to_atom_uri,
:conversation :conversation
attribute :content, unless: :language? attribute :content
attribute :content_map, if: :language? attribute :content_map, if: :language?
has_many :media_attachments, key: :attachment has_many :media_attachments, key: :attachment

Loading…
Cancel
Save