Change media attachments in moderated posts to not be accessible (#34872)
This commit is contained in:
parent
d1fb957361
commit
24d943fee0
13 changed files with 140 additions and 111 deletions
|
|
@ -32,7 +32,7 @@ class StatusEdit < ApplicationRecord
|
|||
:preview_remote_url, :text_url, :meta, :blurhash,
|
||||
:not_processed?, :needs_redownload?, :local?,
|
||||
:file, :thumbnail, :thumbnail_remote_url,
|
||||
:shortcode, :video?, :audio?, to: :media_attachment
|
||||
:shortcode, :video?, :audio?, :discarded?, to: :media_attachment
|
||||
end
|
||||
|
||||
rate_limit by: :account, family: :statuses
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue