git ssb

2+

arj / dat-share



Commit 8800b1d42b4d8e4dfb0b45511c207c9c177a4e71

Always look for links

Anders Rune Jensen committed on 9/22/2017, 7:27:52 PM
Parent: fd782cb508efaf36affa4bb4fbd77af9a02a0148

Files changed

lib.jschanged
lib.jsView
@@ -29,9 +29,9 @@
2929 getAll: function(sbot, shareFolder) {
3030 console.log("Looking for dat links in all feeds")
3131
3232 pull(
33- sbot.createLogStream({ reverse: true, limit: 10000 }),
33 + sbot.createLogStream({ live: true, reverse: true, limit: 10000 }),
3434 pull.filter((msg) => {
3535 return !msg.value ||
3636 msg.value.content.type == 'post' &&
3737 typeof msg.value.content.text == "string" &&
@@ -47,9 +47,9 @@
4747 shareFolder) {
4848 console.log("users:", following)
4949 console.log("channels:", channelSubscriptions)
5050 pull(
51- sbot.createLogStream({ reverse: true, limit: 10000 }),
51 + sbot.createLogStream({ live: true, reverse: true, limit: 10000 }),
5252 pull.filter((msg) => {
5353 return !msg.value ||
5454 ((msg.value.author in following ||
5555 msg.value.content.channel in channelSubscriptions)

Built with git-ssb-web