Commit f80a890a7794675d007c3965125971a1405b295b
Fix reading old messages
Charles Lehner committed on 3/27/2016, 1:23:29 AMParent: a0483ad8b20f23f98c06be12f3b1829615063fe2
Files changed
index.js | changed |
index.js | ||
---|---|---|
@@ -66,9 +66,9 @@ | ||
66 | 66 | function getLinks() { |
67 | 67 | var now = Date.now() |
68 | 68 | // compute the result from the past data |
69 | 69 | pull( |
70 | - ssb.links({dest: id, lt: now, reverse: true}), | |
70 | + ssb.links({dest: id, lt: now, reverse: true, values: true}), | |
71 | 71 | pull.drain(onOldMsg, onOldEnd) |
72 | 72 | ) |
73 | 73 | // keep the results up-to-date in the future |
74 | 74 | pull( |
Built with git-ssb-web