about summary refs log tree commit diff
path: root/app/serializers/rest
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2018-11-08 18:45:50 -0600
committermultiple creatures <dev@multiple-creature.party>2019-05-21 03:16:20 -0500
commit3c17de772440d6af09136ccd2205e02fbe162c89 (patch)
treee78078b0684a40ea741a50cf5e3b91d902d7dc86 /app/serializers/rest
parent17a7aeb807f098b45b8f83916285b05bda175860 (diff)
allow pinning packmate roars
Diffstat (limited to 'app/serializers/rest')
-rw-r--r--app/serializers/rest/status_serializer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/rest/status_serializer.rb b/app/serializers/rest/status_serializer.rb
index b07937014..ab3788d75 100644
--- a/app/serializers/rest/status_serializer.rb
+++ b/app/serializers/rest/status_serializer.rb
@@ -116,7 +116,7 @@ class REST::StatusSerializer < ActiveModel::Serializer
     current_user? &&
       current_user.account_id == object.account_id &&
       !object.reblog? &&
-      %w(public unlisted).include?(object.visibility)
+      %w(public unlisted private).include?(object.visibility)
   end
 
   def source_requested?