Add scope Status.distributable_visibility
(#29950)
This commit is contained in:
parent
0622107449
commit
caad1e2628
9 changed files with 9 additions and 8 deletions
|
@ -46,7 +46,7 @@ class AccountsController < ApplicationController
|
|||
end
|
||||
|
||||
def default_statuses
|
||||
@account.statuses.where(visibility: [:public, :unlisted])
|
||||
@account.statuses.distributable_visibility
|
||||
end
|
||||
|
||||
def only_media_scope
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue