git ssb

4+

Dominic / scuttlebot



Commit 2d06a1eeb94bb8f9c819fe9f68ca43b8fae69adc

flip sync logic around

Dominic Tarr committed on 4/6/2017, 7:15:29 PM
Parent: 00dd21feb644ef3bc4da675b0b9edf96305343b8

Files changed

index.jschanged
index.jsView
@@ -60,13 +60,13 @@
6060 }
6161
6262 function since () {
6363 var plugs = {}
64- var sync = false
64 + var sync = true
6565 for(var k in ssb) {
6666 if(ssb[k] && isObject(ssb[k]) && isFunction(ssb[k].since)) {
6767 plugs[k] = ssb[k].since.value
68- sync = sync || (plugs[k] === ssb.since.value)
68 + sync = sync && (plugs[k] === ssb.since.value)
6969 }
7070 }
7171 return {
7272 since: ssb.since.value,

Built with git-ssb-web