diff options
author | Faye Duxovni <duxovni@duxovni.org> | 2019-10-24 16:51:41 -0400 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-10-24 22:51:41 +0200 |
commit | 48f75b86aed816ef5afaaae64416dbeaa14e4fda (patch) | |
tree | 371840035b251cc15daf7ba1a494c2ccddda8ff5 /app/models | |
parent | a6269b2f83e3eed1a8ab545f5756cd7b582075f5 (diff) |
Add setting for whether to crop images in unexpanded toots (#12126)
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 9a19a53b3..7147a9a31 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -108,7 +108,7 @@ class User < ApplicationRecord delegate :auto_play_gif, :default_sensitive, :unfollow_modal, :boost_modal, :delete_modal, :reduce_motion, :system_font_ui, :noindex, :theme, :display_media, :hide_network, :expand_spoilers, :default_language, :aggregate_reblogs, :show_application, - :advanced_layout, :use_blurhash, :use_pending_items, :trends, + :advanced_layout, :use_blurhash, :use_pending_items, :trends, :crop_images, to: :settings, prefix: :setting, allow_nil: false attr_reader :invite_code |