about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-06-18 23:58:13 +0200
committerGitHub <noreply@github.com>2018-06-18 23:58:13 +0200
commitfc09b3722a1d2489044952f2d4bddc145473f5a5 (patch)
treef50d49df73e75b1011fddc6011b0878d75fc959a /app
parenta04dca36a365e3f7f5f22e10d103245a4a8758f3 (diff)
Always send content for backwards-compatibility (#7844)
Diffstat (limited to 'app')
-rw-r--r--app/serializers/activitypub/note_serializer.rb2
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