From 549d2f3d42a81417bf55d70b417bc8f09775ba69 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Mon, 18 Jun 2018 23:58:13 +0200 Subject: [PATCH] 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 eafd409ba1..82b7ffe95c 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