diff options
Diffstat (limited to 'lib/about.js')
-rw-r--r-- | lib/about.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/about.js b/lib/about.js index e94b7fc..6d04355 100644 --- a/lib/about.js +++ b/lib/about.js @@ -20,15 +20,14 @@ About.prototype.createAboutOpStream = function (id) { && key !== 'type' && key !== 'recps' }).map(function (key) { - var value = u.linkDest(c[key]) - // if (u.isRef(value)) value = {link: value} + var value = c[key] return { id: msg.key, author: msg.value.author, timestamp: msg.value.timestamp, prop: key, value: value, - remove: value && typeof value === 'object' && value.remove, + remove: value && value.remove, } }) }), @@ -96,6 +95,7 @@ About.prototype.get = function (dest, cb) { if (!c) return var about = aboutByFeed[author] || (aboutByFeed[author] = {}) if (c.name) about.name = c.name + if (c.title) about.title = c.title if (c.image) about.image = u.linkDest(c.image) if (c.description) about.description = c.description }, function (err) { |