mirror of
https://github.com/mastodon/mastodon.git
synced 2025-09-05 09:21:11 +00:00
Merge e9430f752b
into 14cb5ff881
This commit is contained in:
commit
a1f2b4a0cf
|
@ -155,7 +155,7 @@ class REST::StatusSerializer < ActiveModel::Serializer
|
|||
current_user? &&
|
||||
current_user.account_id == object.account_id &&
|
||||
!object.reblog? &&
|
||||
%w(public unlisted private).include?(object.visibility)
|
||||
StatusRelationshipsPresenter::PINNABLE_VISIBILITIES.include?(object.visibility)
|
||||
end
|
||||
|
||||
def source_requested?
|
||||
|
|
Loading…
Reference in New Issue
Block a user