PERF: remove total unread notifications from message bus (#6529)

This commit is contained in:
Jeff Wong 2018-10-24 18:14:34 -07:00 committed by Sam
parent 36e2f863ee
commit 0ead513fb0
2 changed files with 0 additions and 2 deletions

View File

@ -538,7 +538,6 @@ class User < ActiveRecord::Base
payload = { payload = {
unread_notifications: unread_notifications, unread_notifications: unread_notifications,
unread_private_messages: unread_private_messages, unread_private_messages: unread_private_messages,
total_unread_notifications: total_unread_notifications,
read_first_notification: read_first_notification?, read_first_notification: read_first_notification?,
last_notification: json, last_notification: json,
recent: recent, recent: recent,

View File

@ -6,7 +6,6 @@ export default {
uploaded_avatar_id: 5275, uploaded_avatar_id: 5275,
avatar_template: "/user_avatar/localhost/eviltrout/{size}/5275.png", avatar_template: "/user_avatar/localhost/eviltrout/{size}/5275.png",
name: "Robin Ward", name: "Robin Ward",
total_unread_notifications: 205,
unread_notifications: 0, unread_notifications: 0,
unread_private_messages: 0, unread_private_messages: 0,
admin: true, admin: true,