PERF: we do not need to ship down the total number of unread
Total number of unread notification from the beginning of time is not an interesting number
This commit is contained in:
parent
e232f87cde
commit
ee71786057
|
@ -3,7 +3,6 @@ require_dependency 'new_post_manager'
|
||||||
class CurrentUserSerializer < BasicUserSerializer
|
class CurrentUserSerializer < BasicUserSerializer
|
||||||
|
|
||||||
attributes :name,
|
attributes :name,
|
||||||
:total_unread_notifications,
|
|
||||||
:unread_notifications,
|
:unread_notifications,
|
||||||
:unread_private_messages,
|
:unread_private_messages,
|
||||||
:read_first_notification?,
|
:read_first_notification?,
|
||||||
|
|
Loading…
Reference in New Issue