mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-26 00:51:37 +01:00
Fix pinned
attribute not being set for private self-posts (#17304)
This commit is contained in:
parent
14f436c457
commit
c60f8ce032
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,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?
|
||||
|
|
Loading…
Reference in a new issue