0
0
Fork 0

Add preference to always display sensitive media (#6448)

This commit is contained in:
Eugen Rochko 2018-02-09 00:26:57 +01:00 committed by GitHub
parent 1167c6dbf8
commit 76f3d5d16b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 38 additions and 26 deletions

View file

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