Commit d2a64eaa0249b9f9b937741f6bb64eae15d044bd
whoops fix check
Matt McKegg committed on 3/13/2017, 6:42:06 AMParent: 0b9adb1dfcfd2248f55f9dc2130f2d53aeb91794
Files changed
lib/replicate-with-progress.js | changed |
lib/replicate-with-progress.js | ||
---|---|---|
@@ -143,9 +143,9 @@ | ||
143 | 143 | |
144 | 144 | function localPeers () { |
145 | 145 | if (!sbot.gossip) return |
146 | 146 | sbot.gossip.peers().forEach(function (e) { |
147 | - if (e.source === 'local' && !toSend[e.key]) { | |
147 | + if (e.source === 'local' && toSend[e.key] != null) { | |
148 | 148 | sbot.latestSequence(e.key, function (err, seq) { |
149 | 149 | addPeer({id: e.key, sequence: err ? 0 : toSeq(seq)}) |
150 | 150 | }) |
151 | 151 | } |
Built with git-ssb-web