|
|
|
@ -344,6 +344,10 @@ var async = require('async'),
|
|
|
|
|
|
|
|
|
|
|
|
notifications = mergeIds.reduce(function(notifications, mergeId) {
|
|
|
|
notifications = mergeIds.reduce(function(notifications, mergeId) {
|
|
|
|
isolated = notifications.filter(function(notifObj) {
|
|
|
|
isolated = notifications.filter(function(notifObj) {
|
|
|
|
|
|
|
|
if (!notifObj.hasOwnProperty('mergeId')) {
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return notifObj.mergeId.split('|')[0] === mergeId;
|
|
|
|
return notifObj.mergeId.split('|')[0] === mergeId;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|