about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/serializers/rest/status_serializer.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/serializers/rest/status_serializer.rb b/app/serializers/rest/status_serializer.rb
index 1d58264d5..386b58fa1 100644
--- a/app/serializers/rest/status_serializer.rb
+++ b/app/serializers/rest/status_serializer.rb
@@ -18,6 +18,7 @@ class REST::StatusSerializer < ActiveModel::Serializer
   attribute :sharekey, if: :has_sharekey?
   attribute :delete_after, if: :owner?
   attribute :defederate_after, if: :owner?
+  attribute :hidden, if: :owner?
 
   attribute :content, unless: :source_requested?
   attribute :text, if: :source_requested?