Browse Source

Always send content for backwards-compatibility (#7844)

pull/4/head
Eugen Rochko 5 years ago
committed by GitHub
parent
commit
fc09b3722a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/serializers/activitypub/note_serializer.rb

+ 1
- 1
app/serializers/activitypub/note_serializer.rb View 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

Loading…
Cancel
Save