mirror of
https://github.com/kikobar/mastodon.git
synced 2024-11-18 13:17:35 +00:00
Prevent admins and moderators eavesdropping in private and direct toots (#7067)
Fix #6986
This commit is contained in:
parent
b5726def55
commit
b65eb00c53
|
@ -12,7 +12,7 @@ module Admin
|
|||
def index
|
||||
authorize :status, :index?
|
||||
|
||||
@statuses = @account.statuses
|
||||
@statuses = @account.statuses.where(visibility: [:public, :unlisted])
|
||||
|
||||
if params[:media]
|
||||
account_media_status_ids = @account.media_attachments.attached.reorder(nil).select(:status_id).distinct
|
||||
|
|
Loading…
Reference in a new issue