Skip to content
Snippets Groups Projects
Commit f84897c7 authored by Thibaut Girka's avatar Thibaut Girka Committed by ThibG
Browse files

Add field to serialized local-only statuses

parent 75975080
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,7 @@ class REST::StatusSerializer < ActiveModel::Serializer
attribute :muted, if: :current_user?
attribute :bookmarked, if: :current_user?
attribute :pinned, if: :pinnable?
attribute :local_only if :local?
belongs_to :reblog, serializer: REST::StatusSerializer
belongs_to :application
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment