Show all messages linking to a message including back links and digs
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user