Skip to content

Commit

Permalink
削除済みのユーザーが deleteActor される時の動作を修正する
Browse files Browse the repository at this point in the history
  • Loading branch information
xianonn committed Feb 18, 2023
1 parent 8c88365 commit e731ec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/core/activitypub/ApInboxService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e731ec3

Please sign in to comment.