From 12e692a26c41ef174d6ecfaa070fb8fa58e588d2 Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Thu, 16 Jul 2015 20:34:55 -0700 Subject: [PATCH] fix(notifications): > 5 should be >= 5 --- internal_packages/unread-notifications/lib/main.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal_packages/unread-notifications/lib/main.coffee b/internal_packages/unread-notifications/lib/main.coffee index 9fc58c22b..2c3b621b0 100644 --- a/internal_packages/unread-notifications/lib/main.coffee +++ b/internal_packages/unread-notifications/lib/main.coffee @@ -40,7 +40,7 @@ module.exports = Actions.setFocus(collection: 'thread', item: thread) _notifyMessages: -> - if @stack.length > 5 + if @stack.length >= 5 @_notifyAll() else if @stack.length > 0 @_notifyOne(@stack.pop())