Let people name themselves and support description in about
This commit is contained in:
@@ -10,6 +10,7 @@ function reduceAbout(about, msg) {
|
||||
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
|
||||
}
|
||||
|
||||
@@ -18,6 +19,7 @@ module.exports = function (sbot, id, cb) {
|
||||
pull(
|
||||
sbot.links({
|
||||
rel: 'about',
|
||||
source: id,
|
||||
dest: id,
|
||||
values: true,
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user