Fix bugs with threads (#1288)

* Fix bugs with threads

* remove modpack warning

* add back msg

* update project reveue info

* Add faq
This commit is contained in:
Geometrically
2023-08-09 18:02:12 -07:00
committed by GitHub
parent 70a173a16d
commit a437a40eee
11 changed files with 220 additions and 113 deletions

View File

@@ -136,8 +136,8 @@ export function groupNotifications(notifications, includeRead = false) {
if (notification.body) {
const index = grouped.findIndex(
(notif) =>
(notif.body.thread_id === notification.body.thread_id ||
notif.body.project_id === notification.body.project_id) &&
((notif.body.thread_id === notification.body.thread_id && !!notif.body.thread_id) ||
(notif.body.project_id === notification.body.project_id && !!notif.body.project_id)) &&
notification.read === notif.read
)
const notif = grouped[index]