diff options
| author | shiosyakeyakini <blueskis382@gmail.com> | 2023-12-26 18:42:37 +0900 |
|---|---|---|
| committer | Marie <marie@kaifa.ch> | 2023-12-28 09:45:15 +0100 |
| commit | 790f509ebef29893beda4edbb689f3cf04166655 (patch) | |
| tree | 1133b9a9fcb8faea585e40d71f87f829b838fb60 /packages/backend/src | |
| parent | refactor(frontend): Reactivityで型を明示するように (#12791) (diff) | |
| download | sharkey-790f509ebef29893beda4edbb689f3cf04166655.tar.gz sharkey-790f509ebef29893beda4edbb689f3cf04166655.tar.bz2 sharkey-790f509ebef29893beda4edbb689f3cf04166655.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')
| -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 82ee9ae4ed..0daee34ce5 100644 --- a/packages/backend/src/core/ReactionService.ts +++ b/packages/backend/src/core/ReactionService.ts @@ -141,7 +141,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 { |