diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2023-12-23 17:55:27 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2023-12-23 17:55:27 +0900 |
| commit | e852f4b60d48edc5b28e6db104ca6a88dd678740 (patch) | |
| tree | 8cc76d982daed22ea6c42c86ad266ca419499ae8 /packages/backend/src | |
| parent | fix(backend): renote判定がおかしい (diff) | |
| download | sharkey-e852f4b60d48edc5b28e6db104ca6a88dd678740.tar.gz sharkey-e852f4b60d48edc5b28e6db104ca6a88dd678740.tar.bz2 sharkey-e852f4b60d48edc5b28e6db104ca6a88dd678740.zip | |
Revert "fix(backend): renote判定がおかしい"
This reverts commit f43599552fb5764aa3121b083e441d3946c72cd8.
Diffstat (limited to 'packages/backend/src')
| -rw-r--r-- | packages/backend/src/core/NoteCreateService.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/backend/src/core/NoteCreateService.ts b/packages/backend/src/core/NoteCreateService.ts index c4fc51847b..54493612b8 100644 --- a/packages/backend/src/core/NoteCreateService.ts +++ b/packages/backend/src/core/NoteCreateService.ts @@ -293,7 +293,7 @@ export class NoteCreateService implements OnApplicationShutdown { } // Check blocking - if (data.renote && data.text == null && data.poll == null && (data.files == null || data.files.length === 0)) { + if (this.isQuote(data)) { if (data.renote.userHost === null) { if (data.renote.userId !== user.id) { const blocked = await this.userBlockingService.checkBlocked(data.renote.userId, user.id); |