git ssb

0+

alanz / patchwork



forked from Matt McKegg / patchwork

Commit 1e749ac35548ddbe1f4662e9cfc2afadcfe9a2cf

experiment with also sending "sequence" key on live replication

for dealing with old pubs that haven’t upgraded to use
ssbc/scuttlebot#376
Matt McKegg committed on 3/14/2017, 9:52:33 AM
Parent: 779de92a0cf2423b6a5525e7cd84f066174ead92

Files changed

lib/replicate-with-progress.jschanged
lib/replicate-with-progress.jsView
@@ -251,8 +251,9 @@
251251 pull(
252252 rpc.createHistoryStream({
253253 id: upto.id,
254254 seq: last + 1,
255+ sequence: last + 1, // HACK: some clients won't stream if we don't specify this as sequence
255256 live: true,
256257 keys: false
257258 }),
258259 sbot.createWriteStream(function () {

Built with git-ssb-web