diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-02-09 00:26:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-09 00:26:57 +0100 |
commit | 76f3d5d16be2fb97d2252909589510165ec05e12 (patch) | |
tree | e46a34d048183f23e5d13dbdda9a0922e86a271f /app/models | |
parent | 1167c6dbf8d5b8411d9924350b2b9735da6d9d26 (diff) |
Add preference to always display sensitive media (#6448)
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/user.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index feaf8b26c..fd153912e 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -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 |