fix(deltas): We’ve been flipping deltas by accident for a while!

This commit is contained in:
Ben Gotow 2016-11-30 16:51:21 -08:00
parent b7b451bdff
commit 063f38f211
2 changed files with 2 additions and 2 deletions

View file

@ -90,7 +90,7 @@ class DeveloperBarStore extends NylasStore
# Incoming deltas are [oldest...newest]. Append them to the beginning
# of our internal history which is [newest...oldest]
@_longPollHistory.unshift(deltas.reverse()...)
@_longPollHistory.unshift([].concat(deltas).reverse()...)
if @_longPollHistory.length > 200
@_longPollHistory.length = 200
@triggerThrottled(@)

2
src/K2

@ -1 +1 @@
Subproject commit 807e25d4b68abb506279c5e349851a0a6e7c4fca
Subproject commit 66df8b85f830b51b01b6c817932c3d1273825f09