diff --git a/lib/about.js b/lib/about.js index 553135c..3e5a0b6 100644 --- a/lib/about.js +++ b/lib/about.js @@ -6,11 +6,12 @@ function linkDest(val) { } function reduceAbout(about, msg) { - var c = msg.value.content - if (!c) return about - if (c.name) about.name = c.name.replace(/^@?/, '@') - if (c.image) about.image = linkDest(c.image) - return about + var c = msg.value.content + if (!c) return about + if (c.name) about.name = c.name.replace(/^@?/, '@') + if (c.image) about.image = linkDest(c.image) + if (c.description) about.description = c.description + return about } module.exports = function (sbot, id, cb) { @@ -18,6 +19,7 @@ module.exports = function (sbot, id, cb) { pull( sbot.links({ rel: 'about', + source: id, dest: id, values: true, }),