From 6cd159533454398fe95b313e6cec9fd8f5db2273 Mon Sep 17 00:00:00 2001 From: cel Date: Sat, 18 Aug 2018 12:32:57 -0700 Subject: Prefer ssb-backlinks for streaming a thread instead of sbot.links, to catch links more deeply nested in message content, such as in ssb-igo messages --- lib/serve.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/serve.js b/lib/serve.js index 92d6065..f8dcf65 100644 --- a/lib/serve.js +++ b/lib/serve.js @@ -1087,7 +1087,7 @@ Serve.prototype.streamThreadWithComposer = function (opts) { var channel = opts.channel pull( - cat([pull.once(rootMsg), self.app.sbot.links({dest: id, values: true})]), + self.app.getThread(rootMsg), pull.unique('key'), self.app.unboxMessages(), pull.through(function (msg) { -- cgit v1.2.3