0
0
Fork 0

Add scope Status.distributable_visibility (#29950)

This commit is contained in:
Matt Jankowski 2024-04-16 09:16:54 -04:00 committed by GitHub
parent 0622107449
commit caad1e2628
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 9 additions and 8 deletions

View file

@ -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