リファクタリング

This commit is contained in:
Chocolate Pie 2023-07-05 06:23:36 +09:00
parent adba699364
commit 3aa6aa006b
1 changed files with 0 additions and 1 deletions

View File

@ -77,7 +77,6 @@ export class ReportAbuseProcessorService {
if (isTargetUserPatternMatched && isReporterPatternMatched && isReportContentPatternMatched) { if (isTargetUserPatternMatched && isReporterPatternMatched && isReportContentPatternMatched) {
if (resolver.forward && job.data.targetUserHost !== null) { if (resolver.forward && job.data.targetUserHost !== null) {
const targetUser = await this.usersRepository.findOneByOrFail({ id: job.data.targetUserId });
this.queueService.deliver(actor, this.apRendererService.addContext(this.apRendererService.renderFlag(actor, targetUser.uri!, job.data.comment)), targetUser.inbox, false); this.queueService.deliver(actor, this.apRendererService.addContext(this.apRendererService.renderFlag(actor, targetUser.uri!, job.data.comment)), targetUser.inbox, false);
} }