more tweaks to notif grouping

This commit is contained in:
Julian Lam
2015-12-21 15:29:16 -05:00
parent 64efe541f5
commit 36eed0f22f

View File

@@ -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;
}