From 8ce32d01ab4e8c2511d3129d628fa614f158539e Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Sun, 16 Feb 2020 01:21:46 -0600 Subject: expose `hidden` attribute to client apps --- app/serializers/rest/status_serializer.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'app') 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? -- cgit