diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-03-08 06:01:17 +0000 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-05-21 03:16:21 -0500 |
commit | 467170f4a095c5c794ae4d8f46b5d57205590013 (patch) | |
tree | 65e84fd8b36303095aba331726f7b97902bfb8a5 /app/serializers | |
parent | b5cb68581b5cc0a1f9f421763e37028775ca448f (diff) |
more local-only options
Diffstat (limited to 'app/serializers')
-rw-r--r-- | app/serializers/initial_state_serializer.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/serializers/initial_state_serializer.rb b/app/serializers/initial_state_serializer.rb index 6146ff32e..b951696da 100644 --- a/app/serializers/initial_state_serializer.rb +++ b/app/serializers/initial_state_serializer.rb @@ -39,6 +39,7 @@ class InitialStateSerializer < ActiveModel::Serializer if object.current_account store[:me] = object.current_account.id.to_s store[:default_local] = object.current_account.user.setting_default_local + store[:always_local] = object.current_account.user.setting_always_local store[:unfollow_modal] = object.current_account.user.setting_unfollow_modal store[:boost_modal] = object.current_account.user.setting_boost_modal store[:favourite_modal] = object.current_account.user.setting_favourite_modal |