diff --git a/src/misc/get-note-summary.ts b/src/misc/get-note-summary.ts index f02f74e27..e3458cb18 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 : '';