diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-07-23 18:34:48 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-08-30 05:45:15 -0500 |
commit | 980339b73e294e39b8fd650b5a4c25f39b31d00e (patch) | |
tree | e1040f17abf27e4adb05c7bb678f91aefeb09dbc /app/serializers/rest | |
parent | 47584d20c5c91189f0791b4b63ace361a25b614f (diff) |
[Federation] Add backend support for ActivityPub object titles
Diffstat (limited to 'app/serializers/rest')
-rw-r--r-- | app/serializers/rest/status_serializer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/rest/status_serializer.rb b/app/serializers/rest/status_serializer.rb index 1db3d50f1..1c4b86c21 100644 --- a/app/serializers/rest/status_serializer.rb +++ b/app/serializers/rest/status_serializer.rb @@ -7,7 +7,7 @@ class REST::StatusSerializer < ActiveModel::Serializer :favourites_count # Monsterfork additions - attributes :updated_at, :edited, :nest_level + attributes :updated_at, :edited, :nest_level, :title attribute :favourited, if: :current_user? attribute :reblogged, if: :current_user? |