diff options
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/user.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index 45eb33a1c..29946b826 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -159,6 +159,7 @@ class User < ApplicationRecord :boost_interval_from, :boost_interval_to, :show_cursor, + :allow_rss, :auto_play_gif, :default_sensitive, @@ -386,6 +387,10 @@ class User < ApplicationRecord @show_cursor ||= (settings.show_cursor || false) end + def allows_rss? + @allows_rss ||= (setting.allow_rss || false) + end + def defaults_to_local_only? @defaults_to_local_only ||= (settings.default_local || false) end |