diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-01-17 10:01:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-17 10:01:02 +0100 |
commit | 430d4427916b44e6a7c16db1899dfef2eec140fc (patch) | |
tree | e53417f50f9e4ab4b95bf0e9fbb18b0e00b0ce7e /app/serializers | |
parent | a85912b0d6d2ee68aa35794fbb51c5358768c092 (diff) | |
parent | 77dd4ab8f5d09b128db1e0227b2afcf73d8531e7 (diff) |
Merge pull request #1661 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/serializers')
-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 b5dcf6208..45ecd392b 100644 --- a/app/serializers/rest/status_serializer.rb +++ b/app/serializers/rest/status_serializer.rb @@ -124,7 +124,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? |