Always send content for backwards-compatibility (#7844)

lolsob-rspec
Eugen Rochko 2018-06-18 23:58:13 +02:00 committed by GitHub
parent 8b2ab128a2
commit 549d2f3d42
1 changed files with 1 additions and 1 deletions

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