Show all messages linking to a message including back links and digs

This commit is contained in:
Anders Rune Jensen
2017-05-31 21:28:44 +02:00
parent 42c466b4df
commit a6f218a937
+1 -1
View File
@@ -253,7 +253,7 @@ exports.init = function (sbot, config) {
if (format === null) return respond(res, 415, 'Invalid format') if (format === null) return respond(res, 415, 'Invalid format')
pull( pull(
sbot.links({dest: id, values: true, rel: 'root'}), sbot.links({dest: id, values: true }),
includeRoot && prepend(getMsg, id), includeRoot && prepend(getMsg, id),
pull.unique('key'), pull.unique('key'),
pull.collect(function (err, links) { pull.collect(function (err, links) {