Ensure AP setup for user if not already at toggle time (fix)
This commit is contained in:
parent
35c97f7035
commit
127d09a09b
|
@ -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);
|
||||
});
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue