mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 14:05:46 +01:00
more tweaks to notif grouping
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user