Commit ee9f43c70d668ebeffd5077be5daae16dd4f47b4
fix ordering of realtime replies (missing sort on realtime add)
#590Matt McKegg committed on 12/13/2017, 1:15:25 AM
Parent: 54230cc515f74edc6c4b0530f202d28f2e999774
Files changed
overrides/patchcore/backlinks/obs.js | changed |
overrides/patchcore/backlinks/obs.js | ||
---|---|---|
@@ -93,9 +93,9 @@ | ||
93 | 93 … | pull.drain(msg => { |
94 | 94 … | var collection = collections[msg.dest] |
95 | 95 … | if (collection) { |
96 | 96 … | var value = resolve(collection) |
97 | - value.push(msg) | |
97 … | + sorted.add(value, msg, compareAsserted) | |
98 | 98 … | collection.set(value) |
99 | 99 … | } |
100 | 100 … | }) |
101 | 101 … | ) |
Built with git-ssb-web