From fc09b3722a1d2489044952f2d4bddc145473f5a5 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Mon, 18 Jun 2018 23:58:13 +0200 Subject: Always send content for backwards-compatibility (#7844) --- app/serializers/activitypub/note_serializer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit