From 0979b518cb0ed0965a46d2fb4dfd8cd96779942c Mon Sep 17 00:00:00 2001 From: GrapeApple0 <84321396+GrapeApple0@users.noreply.github.com> Date: Sat, 17 Aug 2024 11:04:16 +0000 Subject: [PATCH] =?UTF-8?q?=E5=A4=89=E6=9B=B4=E6=BC=8F=E3=82=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/backend/src/core/NoteCreateService.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/backend/src/core/NoteCreateService.ts b/packages/backend/src/core/NoteCreateService.ts index e6fd3870f4..ed9b9037ea 100644 --- a/packages/backend/src/core/NoteCreateService.ts +++ b/packages/backend/src/core/NoteCreateService.ts @@ -305,7 +305,7 @@ export class NoteCreateService implements OnApplicationShutdown { } // Check blocking - if (this.isRenote(data) && !this.isQuote(data)) { + if (this.isRenote(data) && !this.noteEntityService.isQuote(data)) { if (data.renote.userHost === null) { if (data.renote.userId !== user.id) { const blocked = await this.userBlockingService.checkBlocked(data.renote.userId, user.id); @@ -645,7 +645,7 @@ export class NoteCreateService implements OnApplicationShutdown { // If it is renote if (this.isRenote(data)) { - const type = this.isQuote(data) ? 'quote' : 'renote'; + const type = this.noteEntityService.isQuote(data) ? 'quote' : 'renote'; // Notify if (data.renote.userHost === null) {