diff --git a/src/misc/get-note-summary.ts b/src/misc/get-note-summary.ts index f02f74e275..e3458cb189 100644 --- a/src/misc/get-note-summary.ts +++ b/src/misc/get-note-summary.ts @@ -14,7 +14,7 @@ const summarize = (note: any): string => { let summary = ''; // 本文 - if (note.cw && note.cw != '') { + if (note.cw != null) { summary += note.cw; } else { summary += note.text ? note.text : '';