diff --git a/lib/about.js b/lib/about.js index b946979..70761c8 100644 --- a/lib/about.js +++ b/lib/about.js @@ -26,7 +26,7 @@ module.exports = function (sbot, id, cb) { var c = msg.value.content if (!c) return var feedAbout = aboutByFeed[author] || (aboutByFeed[author] = {}) - if (c.name) feedAbout.name = c.name.replace(/^@?/, '@') + if (typeof c.name == 'string') feedAbout.name = c.name.replace(/^@?/, '@') if (c.image) feedAbout.image = linkDest(c.image) if (c.description) feedAbout.description = c.description if (c.publicWebHosting != null && author === c.about) feedAbout.publicWebHosting = defalsify(c.publicWebHosting)