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 | |
| 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>
| -rw-r--r-- | CHANGELOG.md | 1 | ||||
| -rw-r--r-- | packages/backend/src/core/ReactionService.ts | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 709f97b7bf..52f5c07ab3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ ### Server - Enhance: センシティブワードの設定がハッシュタグトレンドにも適用されるようになりました - Fix: 1702718871541-ffVisibility.jsのdownが壊れている +- Fix:「非センシティブのみ(リモートはいいねのみ)」を設定していても、センシティブに設定されたカスタム絵文字をリアクションできる問題を修正 - Fix: ロールアサイン時の通知で,ロールアイコンが縮小されずに表示される問題を修正 ## 2023.12.0 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 { |