From ba51d3f135645e5f6d39f9fd0c03eaa03434bc5f Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Sun, 24 Mar 2019 20:19:22 -0500 Subject: add option to show raw world timeline --- app/lib/user_settings_decorator.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'app/lib') diff --git a/app/lib/user_settings_decorator.rb b/app/lib/user_settings_decorator.rb index 8ae5664dd..50bc04a4e 100644 --- a/app/lib/user_settings_decorator.rb +++ b/app/lib/user_settings_decorator.rb @@ -20,6 +20,7 @@ class UserSettingsDecorator user.settings['default_privacy'] = default_privacy_preference if change?('setting_default_privacy') user.settings['default_local'] = default_local_preference if change?('setting_default_local') user.settings['always_local'] = always_local_preference if change?('setting_always_local') + user.settings['rawr_federated'] = rawr_federated_preference if change?('setting_rawr_federated') user.settings['default_sensitive'] = default_sensitive_preference if change?('setting_default_sensitive') user.settings['default_language'] = default_language_preference if change?('setting_default_language') user.settings['unfollow_modal'] = unfollow_modal_preference if change?('setting_unfollow_modal') @@ -61,6 +62,10 @@ class UserSettingsDecorator boolean_cast_setting 'setting_always_local' end + def rawr_federated_preference + boolean_cast_setting 'setting_rawr_federated' + end + def default_sensitive_preference boolean_cast_setting 'setting_default_sensitive' end -- cgit