mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 22:45: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);
|
return notifObj.mergeId === (mergeId + '|' + differentiator);
|
||||||
});
|
});
|
||||||
modifyIndex = notifications.indexOf(set[0]);
|
modifyIndex = notifications.indexOf(set[0]);
|
||||||
if (modifyIndex === -1) {
|
if (modifyIndex === -1 || set.length === 1) {
|
||||||
return notifications;
|
return notifications;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user