diff --git a/CHANGELOG.md b/CHANGELOG.md index f058786b5..7fa9f696d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,7 @@ - プロフィールにその人が作ったPlayの一覧出せるように - メニューのスイッチの動作を改善 - 絵文字ピッカーの検索の表示件数を100件に増加 +- センシティブチャンネルのNoteのReNoteはデフォルトでHome TLに流れるようになりました - 投稿フォームのプレビューの表示状態を記憶するように - ノート詳細ページ読み込み時のパフォーマンスを改善 - AiScriptからMisskeyサーバーAPIを呼び出す際の制限を撤廃 diff --git a/packages/frontend/src/components/MkNote.vue b/packages/frontend/src/components/MkNote.vue index 85af667fb..bedacbce2 100644 --- a/packages/frontend/src/components/MkNote.vue +++ b/packages/frontend/src/components/MkNote.vue @@ -319,9 +319,15 @@ function renote(viaKeyboard = false) { const configuredVisibility = defaultStore.state.rememberNoteVisibility ? defaultStore.state.visibility : defaultStore.state.defaultNoteVisibility; const localOnly = defaultStore.state.rememberNoteVisibility ? defaultStore.state.localOnly : defaultStore.state.defaultNoteLocalOnly; + let visibility = appearNote.visibility; + visibility = smallerVisibility(visibility, configuredVisibility); + if (appearNote.channel?.isSensitive) { + visibility = smallerVisibility(visibility, 'home'); + } + os.api('notes/create', { localOnly, - visibility: smallerVisibility(appearNote.visibility, configuredVisibility), + visibility, renoteId: appearNote.id, }).then(() => { os.toast(i18n.ts.renoted);