Commit 8800b1d42b4d8e4dfb0b45511c207c9c177a4e71
Always look for links
Anders Rune Jensen committed on 9/22/2017, 7:27:52 PMParent: fd782cb508efaf36affa4bb4fbd77af9a02a0148
Files changed
lib.js | changed |
lib.js | ||
---|---|---|
@@ -29,9 +29,9 @@ | ||
29 | 29 | getAll: function(sbot, shareFolder) { |
30 | 30 | console.log("Looking for dat links in all feeds") |
31 | 31 | |
32 | 32 | pull( |
33 | - sbot.createLogStream({ reverse: true, limit: 10000 }), | |
33 | + sbot.createLogStream({ live: true, reverse: true, limit: 10000 }), | |
34 | 34 | pull.filter((msg) => { |
35 | 35 | return !msg.value || |
36 | 36 | msg.value.content.type == 'post' && |
37 | 37 | typeof msg.value.content.text == "string" && |
@@ -47,9 +47,9 @@ | ||
47 | 47 | shareFolder) { |
48 | 48 | console.log("users:", following) |
49 | 49 | console.log("channels:", channelSubscriptions) |
50 | 50 | pull( |
51 | - sbot.createLogStream({ reverse: true, limit: 10000 }), | |
51 | + sbot.createLogStream({ live: true, reverse: true, limit: 10000 }), | |
52 | 52 | pull.filter((msg) => { |
53 | 53 | return !msg.value || |
54 | 54 | ((msg.value.author in following || |
55 | 55 | msg.value.content.channel in channelSubscriptions) |
Built with git-ssb-web