Add public_unlisted scope as status privacy
This commit is contained in:
parent
b049e7c502
commit
ed3abf4f2a
35 changed files with 64 additions and 39 deletions
|
@ -137,7 +137,7 @@ class REST::StatusSerializer < ActiveModel::Serializer
|
|||
current_user? &&
|
||||
current_user.account_id == object.account_id &&
|
||||
!object.reblog? &&
|
||||
%w(public unlisted private).include?(object.visibility)
|
||||
%w(public unlisted public_unlisted private).include?(object.visibility)
|
||||
end
|
||||
|
||||
def source_requested?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue