fix(get-note-summary): check privateMode is true
This commit is contained in:
parent
0a31e91ba1
commit
b72b1e4b72
@ -24,7 +24,7 @@ export const getNoteSummary = (note?: Misskey.entities.Note | null): string => {
|
|||||||
return `(${i18n.ts.invisibleNote})`;
|
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})`;
|
return `(${i18n.ts.youAreHidingSensitiveInformation})`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user