fix(notifications): > 5 should be >= 5

This commit is contained in:
Ben Gotow 2015-07-16 20:34:55 -07:00
parent b52077c1c3
commit 12e692a26c

View file

@ -40,7 +40,7 @@ module.exports =
Actions.setFocus(collection: 'thread', item: thread) Actions.setFocus(collection: 'thread', item: thread)
_notifyMessages: -> _notifyMessages: ->
if @stack.length > 5 if @stack.length >= 5
@_notifyAll() @_notifyAll()
else if @stack.length > 0 else if @stack.length > 0
@_notifyOne(@stack.pop()) @_notifyOne(@stack.pop())