mirror of
https://github.com/discourse/discourse.git
synced 2025-03-06 11:19:51 +00:00
PERF: remove total unread notifications from message bus (#6529)
This commit is contained in:
parent
36e2f863ee
commit
0ead513fb0
@ -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,
|
||||||
|
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user