diff --git a/core/activitypub/settings.js b/core/activitypub/settings.js index 2b973359..69847b6f 100644 --- a/core/activitypub/settings.js +++ b/core/activitypub/settings.js @@ -50,7 +50,10 @@ module.exports = class ActivityPubSettings { const { prepareLocalUserAsActor } = require('./util'); prepareLocalUserAsActor(user, { force: false }, err => { - return cb(err); + if (err) { + return cb(err); + } + return user.persistProperties(user.properties, cb); }); } );