From b72b1e4b72edba023e182c3730241fb60a64519c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=AC=B4=EB=9D=BC=EC=BF=A0=EB=AA=A8?= Date: Tue, 30 Jul 2024 01:04:01 +0900 Subject: [PATCH] fix(get-note-summary): check privateMode is true --- packages/frontend/src/scripts/get-note-summary.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/scripts/get-note-summary.ts b/packages/frontend/src/scripts/get-note-summary.ts index d2f14070f..f0ecfffa9 100644 --- a/packages/frontend/src/scripts/get-note-summary.ts +++ b/packages/frontend/src/scripts/get-note-summary.ts @@ -24,7 +24,7 @@ export const getNoteSummary = (note?: Misskey.entities.Note | null): string => { return `(${i18n.ts.invisibleNote})`; } - if (note.visibility === 'specified' && defaultStore.state.hideDirectMessages) { + if (note.visibility === 'specified' && defaultStore.state.privateMode && defaultStore.state.hideDirectMessages) { return `(${i18n.ts.youAreHidingSensitiveInformation})`; }