Merge commit 'c1b5c8d'
For About data, use most popular (d87029da1c) instead of self-picked (dffd43f062)
This commit is contained in:
@@ -14,6 +14,7 @@ module.exports = function (sbot, id, cb) {
|
||||
pull(
|
||||
sbot.links({
|
||||
rel: 'about',
|
||||
source: id,
|
||||
dest: id,
|
||||
values: true,
|
||||
}),
|
||||
@@ -24,6 +25,7 @@ module.exports = function (sbot, id, cb) {
|
||||
var feedAbout = aboutByFeed[author] || (aboutByFeed[author] = {})
|
||||
if (c.name) feedAbout.name = c.name.replace(/^@?/, '@')
|
||||
if (c.image) feedAbout.image = linkDest(c.image)
|
||||
if (c.description) feedAbout.description = c.description
|
||||
}, function (err) {
|
||||
if (err) return cb(err)
|
||||
// Use whatever properties have the most counts.
|
||||
|
||||
Reference in New Issue
Block a user