削除済みのユーザーが deleteActor される時の動作を修正する (#9980)

This commit is contained in:
xianon 2023-02-20 17:08:05 +09:00 committed by GitHub
parent 716ffcace6
commit b055f516c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -452,7 +452,7 @@ export class ApInboxService {
const user = await this.usersRepository.findOneByOrFail({ id: actor.id });
if (user.isDeleted) {
this.logger.info('skip: already deleted');
return 'skip: already deleted';
}
const job = await this.queueService.createDeleteAccountJob(actor);