diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-06-18 23:58:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-18 23:58:13 +0200 |
commit | fc09b3722a1d2489044952f2d4bddc145473f5a5 (patch) | |
tree | f50d49df73e75b1011fddc6011b0878d75fc959a /app | |
parent | a04dca36a365e3f7f5f22e10d103245a4a8758f3 (diff) |
Always send content for backwards-compatibility (#7844)
Diffstat (limited to 'app')
-rw-r--r-- | app/serializers/activitypub/note_serializer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/activitypub/note_serializer.rb b/app/serializers/activitypub/note_serializer.rb index eafd409ba..82b7ffe95 100644 --- a/app/serializers/activitypub/note_serializer.rb +++ b/app/serializers/activitypub/note_serializer.rb @@ -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 |