Commit a6f218a9377c5f74cbf2e54ab1d6c114a2a36434
Show all messages linking to a message including back links and digs
Anders Rune Jensen committed on 5/31/2017, 7:28:44 PMParent: 42c466b4df95b6087c9bd667c507c630a7d88843
Files changed
index.js | changed |
index.js | |||
---|---|---|---|
@@ -252,9 +252,9 @@ | |||
252 | 252 … | var format = formatMsgs(id, ext, opts) | |
253 | 253 … | if (format === null) return respond(res, 415, 'Invalid format') | |
254 | 254 … | ||
255 | 255 … | pull( | |
256 | - sbot.links({dest: id, values: true, rel: 'root'}), | ||
256 … | + sbot.links({dest: id, values: true }), | ||
257 | 257 … | includeRoot && prepend(getMsg, id), | |
258 | 258 … | pull.unique('key'), | |
259 | 259 … | pull.collect(function (err, links) { | |
260 | 260 … | if (err) return respond(res, 500, err.stack || err) |
Built with git-ssb-web