Improve status pin query (#11972)

This commit is contained in:
abcang authored and Eugen Rochko committed 2019-09-27 15:23:30 +02:00
1 parent 860a77d45e
commit 059945c97c
2 files changed
+5 -3

No files matched your search

@@ -57,6 +57,8 @@ class Api::V1::Accounts::StatusesController < Api::BaseController
end
def pinned_scope
return Status.none if @account.blocking?(current_account)
@account.pinned_statuses
end