From 36eed0f22f153c66bc62ba6436db5c5ba941ea9e Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Mon, 21 Dec 2015 15:29:16 -0500 Subject: [PATCH] more tweaks to notif grouping --- src/notifications.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }