mirror of
https://github.com/sim1222/misskey.git
synced 2025-08-04 07:26:29 +09:00
未知のユーザーが deleteActor されたら処理をスキップする (#10067)
This commit is contained in:
@ -450,8 +450,10 @@ export class ApInboxService {
|
||||
return `skip: delete actor ${actor.uri} !== ${uri}`;
|
||||
}
|
||||
|
||||
const user = await this.usersRepository.findOneByOrFail({ id: actor.id });
|
||||
if (user.isDeleted) {
|
||||
const user = await this.usersRepository.findOneBy({ id: actor.id });
|
||||
if (user == null) {
|
||||
return 'skip: actor not found';
|
||||
} else if (user.isDeleted) {
|
||||
return 'skip: already deleted';
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user