diff options
author | ThibG <thib@sitedethib.com> | 2019-06-27 16:43:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-27 16:43:55 +0200 |
commit | 2f95adc06fbfae22e8f9b4df212938108f5e295c (patch) | |
tree | 13ff1b5ae743f3d147eb58dfa4a790ef1a7c049d /app/serializers/initial_state_serializer.rb | |
parent | 9ef25877dfda12cf31ec586294e4d4908f5be4f0 (diff) | |
parent | 6ab7051b48dcb1d45c377a129350db1fdeaf11b8 (diff) |
Merge pull request #1142 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/serializers/initial_state_serializer.rb')
-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 c46caa28e..e3e2775fb 100644 --- a/app/serializers/initial_state_serializer.rb +++ b/app/serializers/initial_state_serializer.rb @@ -47,6 +47,7 @@ class InitialStateSerializer < ActiveModel::Serializer store[:expand_spoilers] = object.current_account.user.setting_expand_spoilers store[:reduce_motion] = object.current_account.user.setting_reduce_motion store[:advanced_layout] = object.current_account.user.setting_advanced_layout + store[:use_blurhash] = object.current_account.user.setting_use_blurhash store[:is_staff] = object.current_account.user.staff? store[:default_content_type] = object.current_account.user.setting_default_content_type end |