mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-24 03:43:42 +01:00
Always send content for backwards-compatibility (#7844)
This commit is contained in:
parent
a04dca36a3
commit
fc09b3722a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue