Skip to content

Node.js based forum software built for the modern web

more tweaks to notif grouping

Julian Lam36eed0f22f15
diff --git a/src/notifications.js b/src/notifications.js
index 3c33a75eed..fc0dc11d50 100644
--- a/src/notifications.js
+++ b/src/notifications.js
@@ -370,7 +370,7 @@ var async = require('async'),
return notifObj.mergeId === (mergeId + '|' + differentiator);
});
modifyIndex = notifications.indexOf(set[0]);
- if (modifyIndex === -1) {
+ if (modifyIndex === -1 || set.length === 1) {
return notifications;
}