]> cat aescling's git repositories - mastodon.git/commitdiff
Always send content for backwards-compatibility (#7844)
authorEugen Rochko <eugen@zeonfederated.com>
Mon, 18 Jun 2018 21:58:13 +0000 (23:58 +0200)
committerGitHub <noreply@github.com>
Mon, 18 Jun 2018 21:58:13 +0000 (23:58 +0200)
app/serializers/activitypub/note_serializer.rb

index eafd409ba14a2cbb60dbedf520c141f92fd614b1..82b7ffe95cb87ea97f0ea15da139d787fc0aec24 100644 (file)
@@ -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