fix(get-note-summary): check privateMode is true

This commit is contained in:
オスカー、 2024-07-30 01:04:01 +09:00
parent 0a31e91ba1
commit b72b1e4b72
Signed by: SWREI
GPG Key ID: 139D6573F92DA9F7

View File

@ -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})`;
}