Always send content for backwards-compatibility (#7844)

This commit is contained in:
Eugen Rochko 2018-06-18 23:58:13 +02:00 committed by GitHub
parent a04dca36a3
commit fc09b3722a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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