Add preference to always display sensitive media (#6448)
This commit is contained in:
parent
1167c6dbf8
commit
76f3d5d16b
12 changed files with 38 additions and 26 deletions
|
@ -84,7 +84,7 @@ class User < ApplicationRecord
|
|||
has_many :session_activations, dependent: :destroy
|
||||
|
||||
delegate :auto_play_gif, :default_sensitive, :unfollow_modal, :boost_modal, :delete_modal,
|
||||
:reduce_motion, :system_font_ui, :noindex, :theme,
|
||||
:reduce_motion, :system_font_ui, :noindex, :theme, :display_sensitive_media,
|
||||
to: :settings, prefix: :setting, allow_nil: false
|
||||
|
||||
attr_accessor :invite_code
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue