diff options
| author | shiosyakeyakini <blueskis382@gmail.com> | 2023-12-26 18:42:37 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-26 18:42:37 +0900 |
| commit | 9022b05fea83c23f86980c8fa3db0f81bc059854 (patch) | |
| tree | 838203d2d43f8fe55cf12418e70bb43b333a240c /packages/backend/src/core/ReactionService.ts | |
| parent | refactor(frontend): Reactivityで型を明示するように (#12791) (diff) | |
| download | sharkey-9022b05fea83c23f86980c8fa3db0f81bc059854.tar.gz sharkey-9022b05fea83c23f86980c8fa3db0f81bc059854.tar.bz2 sharkey-9022b05fea83c23f86980c8fa3db0f81bc059854.zip | |
fix(backend): 非センシティブのみ(リモートはいいねのみ)が昨日していない問題を修正 (#12801) (#12802)
Co-authored-by: sorairo <sorairo@shiosyakeyakini.info>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Diffstat (limited to 'packages/backend/src/core/ReactionService.ts')
| -rw-r--r-- | packages/backend/src/core/ReactionService.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/backend/src/core/ReactionService.ts b/packages/backend/src/core/ReactionService.ts index 4233b8d4c3..3ca12551b1 100644 --- a/packages/backend/src/core/ReactionService.ts +++ b/packages/backend/src/core/ReactionService.ts @@ -138,7 +138,7 @@ export class ReactionService { reaction = reacterHost ? `:${name}@${reacterHost}:` : `:${name}:`; // センシティブ - if ((note.reactionAcceptance === 'nonSensitiveOnly') && emoji.isSensitive) { + if ((note.reactionAcceptance === 'nonSensitiveOnly' || note.reactionAcceptance === 'nonSensitiveOnlyForLocalLikeOnlyForRemote') && emoji.isSensitive) { reaction = FALLBACK; } } else { |