Removed unused setting for setting_group_in_home_feed in initial_state_serializer

• Removed:
- unused setting for setting_group_in_home_feed in initial_state_serializer
This commit is contained in:
mgabdev 2021-01-15 14:37:19 -05:00
parent 7bc93ff98f
commit 63622b5416

View File

@ -26,7 +26,6 @@ class InitialStateSerializer < ActiveModel::Serializer
store[:auto_play_gif] = object.current_account.user.setting_auto_play_gif
store[:display_media] = object.current_account.user.setting_display_media
store[:expand_spoilers] = object.current_account.user.setting_expand_spoilers
store[:group_in_home_feed] = object.current_account.user.setting_group_in_home_feed
store[:is_staff] = object.current_account.user.staff?
store[:unread_count] = unread_count object.current_account
store[:last_read_notification_id] = object.current_account.user.last_read_notification